exwm: swap out amixer for pamixer, at least for the time being
authorAmin Bandali <mab@gnu.org>
Sun, 26 Jan 2020 16:04:52 +0000 (11:04 -0500)
committerAmin Bandali <mab@gnu.org>
Sun, 26 Jan 2020 16:04:52 +0000 (11:04 -0500)
.emacs.d/init.el

index 6ead09b..e709f70 100644 (file)
@@ -639,17 +639,17 @@ around if needed."
           ([XF86AudioMute] .
            (lambda ()
              (interactive)
-             (start-process "" nil "pamixer" "--toggle-mute")))
+             (start-process "" nil "amixer" "set" "'Master',0" "toggle")))
           ([XF86AudioLowerVolume] .
            (lambda ()
              (interactive)
              (start-process
-              "" nil "pamixer" "--allow-boost" "--decrease" "5")))
+              "" nil "amixer" "set" "'Master',0" "5%-")))
           ([XF86AudioRaiseVolume] .
            (lambda ()
              (interactive)
              (start-process
-              "" nil "pamixer" "--allow-boost" "--increase" "5")))
+              "" nil "amixer" "set" "'Master',0" "5%+")))
           ([XF86AudioPlay] .
            (lambda ()
              (interactive)