X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/blobdiff_plain/d4a04655389ef45d35a8f6b7c52cfffce7ac6ff4..aea662c560fb8fcd37e741adf67be9127f45f03a:/.emacs.d/lisp/bandali-exwm.el?ds=inline 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)