sway: set volume in steps of 10%

This commit is contained in:
Jeremy Baxter 2024-07-19 08:19:45 +12:00
parent 4cadf7b28b
commit da83bc9ea2

View file

@ -77,8 +77,8 @@ bindsym $mod+Shift+p exec $shot save area
# Change sound volume
set $volume wpctl set-volume -l 1.2 @DEFAULT_AUDIO_SINK@
bindsym $mod+f1 exec $volume 0%
bindsym $mod+f2 exec $volume 5%-
bindsym $mod+f3 exec $volume 5%+
bindsym $mod+f2 exec $volume 10%-
bindsym $mod+f3 exec $volume 10%+
# Pause/play cmus
bindsym $mod+Shift+z exec cmus-remote -C player-pause