diff options
author | tv <tv@krebsco.de> | 2022-01-11 22:20:21 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-01-11 22:35:43 +0100 |
commit | 6e8972efe65d0dc5246b368643f4969b33a10dc8 (patch) | |
tree | 366703cd67dc73c1d7f0e0e8938e3739d3972694 | |
parent | 43a3f5f69d9515527d484c8b417de625970e4fd2 (diff) |
tv xmonad: pactl -> amixer
This reverts commit 08849bbb4e731a4b655fa2456bad6925e7a70e8d, kind of.
-rw-r--r-- | tv/5pkgs/haskell/xmonad-tv/src/main.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tv/5pkgs/haskell/xmonad-tv/src/main.hs b/tv/5pkgs/haskell/xmonad-tv/src/main.hs index e720981a7..cf0c0f538 100644 --- a/tv/5pkgs/haskell/xmonad-tv/src/main.hs +++ b/tv/5pkgs/haskell/xmonad-tv/src/main.hs @@ -205,12 +205,12 @@ myKeys conf = Map.fromList $ _4CM = _4 .|. _C .|. _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 - audioLowerVolume = pactl ["--", "set-sink-volume", "@DEFAULT_SINK@", "-5%"] - audioRaiseVolume = pactl ["--", "set-sink-volume", "@DEFAULT_SINK@", "+5%"] - audioMute = pactl ["--", "set-sink-mute", "@DEFAULT_SINK@", "toggle"] + audioLowerVolume = amixer ["-q", "sset", "Master", "5%-"] + audioRaiseVolume = amixer ["-q", "sset", "Master", "5%+"] + audioMute = amixer ["-q", "sset", "Master", "toggle"] resetLayout = setLayout $ XMonad.layoutHook conf |