summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/init.el11
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