diff options
author | Amin Bandali <bandali@gnu.org> | 2019-09-08 23:25:59 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2019-09-08 23:25:59 -0400 |
commit | bff00f789429361109c5272977857a5b340341a6 (patch) | |
tree | 498fbf36cb961bd3dad7e039ddfba884c5bff04d | |
parent | c1803844fb4bcc90c7a4adfb39823be139af2e03 (diff) | |
download | configs-bff00f789429361109c5272977857a5b340341a6.tar.gz configs-bff00f789429361109c5272977857a5b340341a6.tar.xz configs-bff00f789429361109c5272977857a5b340341a6.zip |
emacs: exwm: fix s-N workspace switching bindings
-rw-r--r-- | .emacs.d/init.el | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 9b0c0c7..3f1c363 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -582,7 +582,7 @@ For disabling the behaviour for certain buffers and/or modes." (use-feature exwm-input :demand - :after exwm-workspace + :after exwm :config (defun b/exwm-ws-prev-index () "Return the index for the previous EXWM workspace, wrapping @@ -602,7 +602,8 @@ around if needed." ;; shorten 'C-c C-q' to 'C-q' (define-key exwm-mode-map [?\C-q] #'exwm-input-send-next-key) - (setq exwm-input-global-keys + (setq exwm-workspace-number 4 + exwm-input-global-keys `(([?\s-R] . exwm-reset) ([?\s-\\] . exwm-workspace-switch) ([?\s-\s] . dmenu) @@ -760,11 +761,7 @@ around if needed." :config (exwm-systemtray-enable)) -(use-feature exwm-workspace - :demand - :after exwm - :custom - (exwm-workspace-number 4)) +(use-feature exwm-workspace) (use-package exwm-edit :demand |