added media and audio controll
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user