projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c180384
)
emacs: exwm: fix s-N workspace switching bindings
author
Amin Bandali
<bandali@gnu.org>
Mon, 9 Sep 2019 03:25:59 +0000
(23:25 -0400)
committer
Amin Bandali
<bandali@gnu.org>
Mon, 9 Sep 2019 03:25:59 +0000
(23:25 -0400)
.emacs.d/init.el
patch
|
blob
|
blame
|
history
diff --git
a/.emacs.d/init.el
b/.emacs.d/init.el
index
9b0c0c7
..
3f1c363
100644
(file)
--- 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
(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
: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)
;; 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)
`(([?\s-R] . exwm-reset)
([?\s-\\] . exwm-workspace-switch)
([?\s-\s] . dmenu)
@@
-760,11
+761,7
@@
around if needed."
:config
(exwm-systemtray-enable))
: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
(use-package exwm-edit
:demand