summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanosApollo <[email protected]>2022-10-18 23:13:03 +0300
committerThanosApollo <[email protected]>2022-10-18 23:13:03 +0300
commitc11904cbefee38822cdf31796304f9699cd6e4b5 (patch)
treee2b916ba980ee291b74b3865e359eae01abd1fef
parent9b226c5e2d05a9767a724a51f8b795bc83636be9 (diff)
Update keybindings
-rw-r--r--.config/doom/myExwm.el21
1 files changed, 14 insertions, 7 deletions
diff --git a/.config/doom/myExwm.el b/.config/doom/myExwm.el
index 1bd71df..6ba2f62 100644
--- a/.config/doom/myExwm.el
+++ b/.config/doom/myExwm.el
@@ -22,6 +22,7 @@
(map! :desc "VolumeIncrease" :n "<XF86AudioRaiseVolume>" #'volume-raise-10)
(map! :desc "VolumeDecrease" :n "<XF86AudioLowerVolume>" #'volume-lower-10)
;;Spotify
+
(map! :desc "Spotify play/pause" :n "s-p" #'spotify-playpause)
(map! :desc "Spotify next" :n "s-n" #'spotify-next)
(map! :desc "Spotify previous" :n "s-b" #'spotify-previous)
@@ -36,10 +37,16 @@
(define-key exwm-mode-map (kbd "s-k") 'evil-window-up)
(define-key exwm-mode-map (kbd "s-q") 'evil-window-delete)
-(define-key (current-global-map) (kbd "C-b") 'ibuffer)
-(define-key (current-global-map) (kbd "s-v") 'evil-window-vsplit)
-(define-key (current-global-map) (kbd "s-h") 'evil-window-left)
-(define-key (current-global-map) (kbd "s-l") 'evil-window-right)
-(define-key (current-global-map) (kbd "s-j") 'evil-window-down)
-(define-key (current-global-map) (kbd "s-k") 'evil-window-up)
-(define-key (current-global-map) (kbd "s-q") 'evil-window-delete)
+(define-key exwm-mode-map (kbd "s-r") 'exwm-reset)
+
+(define-key exwm-mode-map (kbd "s-N") '+workspace/new)
+
+(define-key exwm-mode-map (kbd "s-1") '+workspace/switch-to-0)
+(define-key exwm-mode-map (kbd "s-2") '+workspace/switch-to-1)
+(define-key exwm-mode-map (kbd "s-3") '+workspace/switch-to-2)
+(define-key exwm-mode-map (kbd "s-4") '+workspace/switch-to-3)
+
+(define-key exwm-mode-map (kbd "s-<XF86AudioRaiseVolume>") 'volume-raise-10)
+(define-key exwm-mode-map (kbd "s-<XF86AudioLowerVolume>") 'volume-lower-10)
+(define-key exwm-mode-map (kbd "s-e") 'exwm-workspace-swap)
+