diff options
author | Justine Smithies <justine@smithies.me.uk> | 2023-12-24 19:02:01 +0000 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2023-12-24 19:02:01 +0000 |
commit | dee1ae0c13c3b70ad6a9f40416ad0b415c36aba1 (patch) | |
tree | 7984451674d88feee640ce9f54195980f3076ebd /.config/river | |
parent | 86d3edaf6cc8c89fed98686435db76bf5c9826c8 (diff) |
Now uses pactl for volume +/- and mute
Diffstat (limited to '.config/river')
-rwxr-xr-x | .config/river/init | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.config/river/init b/.config/river/init index e146d10..4a60a20 100755 --- a/.config/river/init +++ b/.config/river/init @@ -174,9 +174,12 @@ riverctl map passthrough Super F11 enter-mode normal for mode in normal locked do # Control volume - riverctl map $mode None XF86AudioRaiseVolume spawn 'amixer sset Master 2%+' - riverctl map $mode None XF86AudioLowerVolume spawn 'amixer sset Master 2%-' - riverctl map $mode None XF86AudioMute spawn 'amixer set Master 1+ toggle' + #riverctl map $mode None XF86AudioRaiseVolume spawn 'amixer sset Master 2%+' + riverctl map $mode None XF86AudioRaiseVolume spawn 'pactl set-sink-volume @DEFAULT_SINK@ +2%' + #riverctl map $mode None XF86AudioLowerVolume spawn 'amixer sset Master 2%-' + riverctl map $mode None XF86AudioLowerVolume spawn 'pactl set-sink-volume @DEFAULT_SINK@ -2%' + #riverctl map $mode None XF86AudioMute spawn 'amixer set Master 1+ toggle' + riverctl map $mode None XF86AudioMute spawn 'pactl set-sink-mute @DEFAULT_SINK@ toggle' # Control MPRIS aware media players with playerctl (https://github.com/altdesktop/playerctl) riverctl map $mode None XF86AudioMedia spawn 'playerctl play-pause' |