diff options
author | 2020-10-12 22:13:45 -0400 | |
---|---|---|
committer | 2020-10-12 22:13:45 -0400 | |
commit | aea662c560fb8fcd37e741adf67be9127f45f03a (patch) | |
tree | b731b248323be906e9b4826e1763bdbbbfc2e851 /.emacs.d | |
parent | d4a04655389ef45d35a8f6b7c52cfffce7ac6ff4 (diff) | |
download | configs-aea662c560fb8fcd37e741adf67be9127f45f03a.tar.gz configs-aea662c560fb8fcd37e741adf67be9127f45f03a.tar.xz configs-aea662c560fb8fcd37e741adf67be9127f45f03a.zip |
Some adaptations for my current EXWM setup
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/init.el | 10 | ||||
-rw-r--r-- | .emacs.d/lisp/bandali-exwm.el | 17 |
2 files changed, 13 insertions, 14 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 435cf97..0dccfff 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -977,16 +977,6 @@ Make N (default: 1) copies of the current line or region." (other-window 1))) (global-set-key (kbd "C-c w q") #'quit-window) -(run-with-idle-timer 0.6 nil #'require 'windmove) -(global-set-key (kbd "C-c w h") #'windmove-left) -(global-set-key (kbd "C-c w j") #'windmove-down) -(global-set-key (kbd "C-c w k") #'windmove-up) -(global-set-key (kbd "C-c w l") #'windmove-right) -(global-set-key (kbd "C-c w H") #'windmove-swap-states-left) -(global-set-key (kbd "C-c w J") #'windmove-swap-states-down) -(global-set-key (kbd "C-c w K") #'windmove-swap-states-up) -(global-set-key (kbd "C-c w L") #'windmove-swap-states-right) - ;; pass ;; (global-set-key (kbd "C-c a p") #'pass) ;; (add-hook 'pass-mode-hook #'View-exit) diff --git a/.emacs.d/lisp/bandali-exwm.el b/.emacs.d/lisp/bandali-exwm.el index 4395d61..ff89112 100644 --- a/.emacs.d/lisp/bandali-exwm.el +++ b/.emacs.d/lisp/bandali-exwm.el @@ -125,20 +125,29 @@ around if needed." (interactive) (start-process-shell-command "rofi-light" nil "rofi-light"))) - ([XF86AudioMute] . + ([XF86AudioMute] . ; borken on my X200 :-( (lambda () (interactive) - (start-process "" nil "amixer" "set" "'Master',0" "toggle"))) + (start-process "" nil "pamixer" "--toggle-mute"))) + ([XF86Launch1] . + (lambda () + (interactive) + (start-process "" nil "pamixer" "--toggle-mute"))) + ([\s-XF86Launch1] . ; toggle mic mute + (lambda () + (interactive) + (start-process + "" nil "pamixer" "--default-source" "--toggle-mute"))) ([XF86AudioLowerVolume] . (lambda () (interactive) (start-process - "" nil "amixer" "set" "'Master',0" "5%-"))) + "" nil "pamixer" "--allow-boost" "--decrease" "5"))) ([XF86AudioRaiseVolume] . (lambda () (interactive) (start-process - "" nil "amixer" "set" "'Master',0" "5%+"))) + "" nil "pamixer" "--allow-boost" "--increase" "5"))) ([XF86AudioPlay] . (lambda () (interactive) |