From: Amin Bandali Date: Mon, 9 Sep 2019 03:25:59 +0000 (-0400) Subject: emacs: exwm: fix s-N workspace switching bindings X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/bff00f789429361109c5272977857a5b340341a6 emacs: exwm: fix s-N workspace switching bindings --- 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