diff options
| author | TCCQ <thomasmulmer02@gmail.com> | 2025-04-19 20:22:55 -0700 |
|---|---|---|
| committer | TCCQ <thomasmulmer02@gmail.com> | 2025-04-19 20:24:09 -0700 |
| commit | bd2118214abb002877bfae3980983597f0f91451 (patch) | |
| tree | 7a7f1644c5d6a762d5cada0c3e23a3c768e48838 | |
| parent | 5b33c36e579fdf8c127a53e542b4f02ce3bab2b8 (diff) | |
switch alsa->pulse
| -rw-r--r-- | emacs/site-lisp/exwm-pref.el | 6 |
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'. |
