summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-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)
+