added media and audio controll

This commit is contained in:
Honney
2026-06-09 22:37:48 +02:00
parent 94e05c9a61
commit a18b3c6b72
+10
View File
@@ -80,3 +80,13 @@ bind = $mod CTRL, left, layoutmsg, focus l
bind = $mod CTRL, right, layoutmsg, focus r
bind = $mod CTRL SHIFT, left, layoutmsg, swapcol l
bind = $mod CTRL SHIFT, right, layoutmsg, swapcol r
# Audio keys
bindel = , XF86AudioRaiseVolume, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ 0; wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bindel = , XF86AudioLowerVolume, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ 0; wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindel = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
# Video Keys
bindel = , XF86AudioPlay, exec, playerctl play-pause || playerctl play-pause
bindel = , XF86AudioNext, exec, playerctl next
bindel = , XF86AudioPrev, exec, playerctl previous