summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTCCQ <thomasmulmer02@gmail.com>2025-04-19 20:22:55 -0700
committerTCCQ <thomasmulmer02@gmail.com>2025-04-19 20:24:09 -0700
commitbd2118214abb002877bfae3980983597f0f91451 (patch)
tree7a7f1644c5d6a762d5cada0c3e23a3c768e48838
parent5b33c36e579fdf8c127a53e542b4f02ce3bab2b8 (diff)
switch alsa->pulse
-rw-r--r--emacs/site-lisp/exwm-pref.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs/site-lisp/exwm-pref.el b/emacs/site-lisp/exwm-pref.el
index 816ebb7..d955e50 100644
--- a/emacs/site-lisp/exwm-pref.el
+++ b/emacs/site-lisp/exwm-pref.el
@@ -247,9 +247,9 @@
;; requires some custom shell scripts not included in my emacs config
(defun my/brightnessdown () (interactive) (start-process "" nil "brightnessdown"))
(defun my/brightnessup () (interactive) (start-process "" nil "brightnessup"))
-(defun my/mute () (interactive) (start-process "" nil "amixer" "set" "Master" "toggle"))
-(defun my/voldown () (interactive) (start-process "" nil "amixer" "set" "Master" "5%-"))
-(defun my/volup () (interactive) (start-process "" nil "amixer" "set" "Master" "5%+"))
+(defun my/mute () (interactive) (start-process "" nil "pactl" "set-sink-mute" "@DEFAULT_SINK@" "toggle"))
+(defun my/voldown () (interactive) (start-process "" nil "pactl" "set-sink-volume" "@DEFAULT_SINK@" "-5%"))
+(defun my/volup () (interactive) (start-process "" nil "pactl" "set-sink-volume" "@DEFAULT_SINK@" "+5%"))
;; To add a key binding only available in line-mode, simply define it in
;; `exwm-mode-map'. The following example shortens 'C-c q' to 'C-q'.