diff --git a/config/xmonad/xmonad.hs b/config/xmonad/xmonad.hs index 4e06ea2b..502d02d4 100644 --- a/config/xmonad/xmonad.hs +++ b/config/xmonad/xmonad.hs @@ -135,9 +135,9 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $ -- -- , ((modm , xK_b ), sendMessage ToggleStruts) -- Audio - , (xF86XK_AudioRaiseVolume, spawn "pactl set-sink-volume 0 +5%") - , (xF86XK_AudioLowerVolume, spawn "pactl set-sink-volume0 -5%") - , (xF86XK_AudioMute, spawn "pactl set-sink-mute 0 toggle") + , ((0, xF86XK_AudioMute), spawn "pactl set-sink-mute @DEFAULT_SINK@ toggle") + , ((0, xF86XK_AudioLowerVolume), spawn "pactl set-sink-volume @DEFAULT_SINK@ -10%") + , ((0, xF86XK_AudioRaiseVolume), spawn "pactl set-sink-volume @DEFAULT_SINK@ +10%") -- Quit xmonad , ((modm .|. shiftMask, xK_q ), io exitSuccess)