From 06e5c7f5e2ad92f95b2558c67f77e2c9dd0602a4 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 22 Nov 2016 00:40:50 -0600 Subject: [PATCH] [XMonad] Use pulseaudio-ctl for all volume commands --- dotfiles/xmonad/xmonad.hs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dotfiles/xmonad/xmonad.hs b/dotfiles/xmonad/xmonad.hs index 3177ffaf..548222ca 100644 --- a/dotfiles/xmonad/xmonad.hs +++ b/dotfiles/xmonad/xmonad.hs @@ -459,11 +459,11 @@ addKeys conf@XConfig {modMask = modm} = , ((0, xF86XK_AudioPrev), spawn "playerctl previous") -- volume control - , ((0, xF86XK_AudioRaiseVolume), spawn "pactl set-sink-volume 0 +05%") - , ((0, xF86XK_AudioLowerVolume), spawn "pactl set-sink-volume 0 -05%") - , ((0, xF86XK_AudioMute), spawn "pactl set-sink-mute 0 toggle") - , ((mod3Mask, xK_w), spawn "pactl set-sink-volume 0 +05%") - , ((mod3Mask, xK_s), spawn "pactl set-sink-volume 0 -05%") + , ((0, xF86XK_AudioRaiseVolume), spawn "pulseaudio-ctl up") + , ((0, xF86XK_AudioLowerVolume), spawn "pulseaudio-ctl down") + , ((0, xF86XK_AudioMute), spawn "pulseaudio-ctl mute") + , ((mod3Mask, xK_w), spawn "pulseaudio-ctl up") + , ((mod3Mask, xK_s), spawn "pulseaudio-ctl down") ] ++ bindBringAndRaiseMany