diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 0c01bc21..6fcb1139 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -1218,8 +1218,8 @@ I'm scared (when (eq system-type 'gnu/linux) (use-package exwm :config - (set-frame-parameter nil 'alpha '(85 . 85)) - (add-to-list 'default-frame-alist '(alpha . (85 . 85))) + (set-frame-parameter nil 'alpha '(90 . 90)) + (add-to-list 'default-frame-alist '(alpha . (90 . 90))) (defun sakomacs/exwm-init-hook () ;; background @@ -1295,11 +1295,7 @@ I'm scared (string-prefix-p "sun-awt-X11-" exwm-instance-name) (string= "gimp" exwm-instance-name)) (exwm-workspace-rename-buffer exwm-title)))) - ;; floating - (add-hook 'exwm-floating-setup-hook - (lambda () - (toggle-frame-tab-bar) ;; No tab bars on floating frames - (exwm-layout-hide-mode-line)) + ;; always use these keys in emacs (setq exwm-input-prefix-keys '(?\C-x @@ -1326,6 +1322,10 @@ I'm scared (exwm-input-set-key (kbd "s-SPC") 'app-launcher-run-app) (exwm-input-set-key (kbd "s-f") 'exwm-layout-toggle-fullscreen) (exwm-input-set-key (kbd "s-") 'vterm) + + ;; kill apps + (exwm-input-set-key (kbd "s-q") #'kill-current-buffer) + ;; Set up global key bindings. These always work, no matter the input state! ;; Keep in mind that changing this list after EXWM initializes has no effect. (setq exwm-input-global-keys diff --git a/flake.nix b/flake.nix index c9eeeddb..327a1eda 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ # load stuff { - description = "horrible dotfiles for amazing distro"; + description = "Sako's NixOS Configuration"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; # nixpkgs stable branch