From bd2118214abb002877bfae3980983597f0f91451 Mon Sep 17 00:00:00 2001 From: TCCQ Date: Sat, 19 Apr 2025 20:22:55 -0700 Subject: switch alsa->pulse --- emacs/site-lisp/exwm-pref.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'emacs/site-lisp') 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'. -- cgit v1.2.3