From b18da528b5d748f357449242910ebf8fdd903e6a Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 25 Jul 2023 14:33:57 +0300 Subject: [PATCH] ok --- config/xmonad/xmonad.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)