summaryrefslogtreecommitdiffstats
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2020-10-12 22:13:45 -0400
committerAmin Bandali <bandali@gnu.org>2020-10-12 22:13:45 -0400
commitaea662c560fb8fcd37e741adf67be9127f45f03a (patch)
treeb731b248323be906e9b4826e1763bdbbbfc2e851 /.emacs.d/lisp
parentd4a04655389ef45d35a8f6b7c52cfffce7ac6ff4 (diff)
downloadconfigs-aea662c560fb8fcd37e741adf67be9127f45f03a.tar.gz
configs-aea662c560fb8fcd37e741adf67be9127f45f03a.tar.xz
configs-aea662c560fb8fcd37e741adf67be9127f45f03a.zip
Some adaptations for my current EXWM setup
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/bandali-exwm.el17
1 files changed, 13 insertions, 4 deletions
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)