diff options
author | lassulus <lassulus@lassul.us> | 2022-01-27 10:55:55 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-01-27 10:55:55 +0100 |
commit | 83ec0fdb970c4aa0e29d221cb25aac2115e5abcd (patch) | |
tree | 7a4a8dce4c7ce6a291d3a8378676fd25752d783a /tv/5pkgs/haskell/xmonad-tv/src/main.hs | |
parent | ba8a196faf2a28cd2a8defcdf3c2e7711281b9db (diff) | |
parent | ad6f0cd9014e13478a622786b9643970bae1c90a (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/5pkgs/haskell/xmonad-tv/src/main.hs')
-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 |