summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanosApollo <[email protected]>2022-10-22 20:27:31 +0300
committerThanosApollo <[email protected]>2022-10-22 20:27:31 +0300
commit1f6227861cb456f8feca177ecd8645141cab7d8f (patch)
tree28ee00ade6a21d659154a395be9d75af33b1dc85
parentace68a0868b91fe22585ddd303b0e259da6a4b25 (diff)
Update keys for exwm
-rw-r--r--.config/doom/myExwm.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/doom/myExwm.el b/.config/doom/myExwm.el
index 6ba2f62..77b08be 100644
--- a/.config/doom/myExwm.el
+++ b/.config/doom/myExwm.el
@@ -50,3 +50,10 @@
(define-key exwm-mode-map (kbd "s-<XF86AudioLowerVolume>") 'volume-lower-10)
(define-key exwm-mode-map (kbd "s-e") 'exwm-workspace-swap)
+(define-key (current-global-map) (kbd "s-1") '+workspace/switch-to-0)
+(define-key (current-global-map) (kbd "s-2") '+workspace/switch-to-1)
+(define-key (current-global-map) (kbd "s-3") '+workspace/switch-to-2)
+(define-key (current-global-map) (kbd "s-4") '+workspace/switch-to-3)
+
+(define-key (current-global-map) (kbd "s-<XF86AudioRaiseVolume>") 'volume-raise-10)
+(define-key (current-global-map) (kbd "s-<XF86AudioLowerVolume>") 'volume-lower-10)