tv xmonad: pactl -> amixer

This reverts commit 08849bbb4e, kind of.
This commit is contained in:
tv 2022-01-11 22:20:21 +01:00
parent 43a3f5f69d
commit 6e8972efe6

View File

@ -205,12 +205,12 @@ myKeys conf = Map.fromList $
_4CM = _4 .|. _C .|. _M _4CM = _4 .|. _C .|. _M
_4SM = _4 .|. _S .|. _M _4SM = _4 .|. _S .|. _M
pactl args = forkFile {-pkg:pulseaudio-}"pactl" args Nothing amixer args = forkFile {-pkg:alsaUtils-}"amixer" args Nothing
pavucontrol args = forkFile {-pkg-}"pavucontrol" args Nothing pavucontrol args = forkFile {-pkg-}"pavucontrol" args Nothing
audioLowerVolume = pactl ["--", "set-sink-volume", "@DEFAULT_SINK@", "-5%"] audioLowerVolume = amixer ["-q", "sset", "Master", "5%-"]
audioRaiseVolume = pactl ["--", "set-sink-volume", "@DEFAULT_SINK@", "+5%"] audioRaiseVolume = amixer ["-q", "sset", "Master", "5%+"]
audioMute = pactl ["--", "set-sink-mute", "@DEFAULT_SINK@", "toggle"] audioMute = amixer ["-q", "sset", "Master", "toggle"]
resetLayout = setLayout $ XMonad.layoutHook conf resetLayout = setLayout $ XMonad.layoutHook conf