sway: add audio hotkeys

This commit is contained in:
Gabriel Ebner 2022-06-27 19:57:19 +02:00
parent ccd1bf9bdd
commit 28d3b84f99
1 changed files with 5 additions and 0 deletions

View File

@ -72,6 +72,11 @@ ifelse(hostname, [petalius], [
bindsym Shift+XF86MonBrightnessUp exec light -A 1 bindsym Shift+XF86MonBrightnessUp exec light -A 1
]) ])
bindsym --locked XF86AudioPlay exec playerctl play
bindsym --locked XF86AudioPause exec playerctl pause
bindsym --locked XF86AudioNext exec playerctl next
bindsym --locked XF86AudioPrev exec playerctl previous
# resize window (you can also use the mouse for that) # resize window (you can also use the mouse for that)
mode "resize" { mode "resize" {
# These bindings trigger as soon as you enter the resize mode # These bindings trigger as soon as you enter the resize mode