sway: map Super+Shift+PageUp/Down to next/prev track
This commit is contained in:
parent
a6becb8c42
commit
227d159c66
|
@ -57,9 +57,13 @@ workspace_layout $default_workspace_layout
|
|||
### key bindings
|
||||
floating_modifier $mod
|
||||
#### media keys
|
||||
bindsym $mod+Page_Up exec $volume_up
|
||||
bindsym $mod+Page_Down exec $volume_down
|
||||
# --locked means to keep the binding active even when display is locked/off
|
||||
bindsym --locked $mod+Page_Up exec $volume_up
|
||||
bindsym --locked $mod+Page_Down exec $volume_down
|
||||
bindsym --locked $mod+Space exec playerctl play-pause
|
||||
bindsym --locked $mod+Shift+Page_Down exec playerctl previous
|
||||
bindsym --locked $mod+Shift+Page_Up exec playerctl next
|
||||
|
||||
bindsym --locked XF86AudioMute exec $mute
|
||||
bindsym --locked XF86AudioPlay exec playerctl play-pause
|
||||
bindsym --locked XF86AudioStop exec playerctl stop
|
||||
|
@ -67,7 +71,6 @@ bindsym --locked XF86AudioNext exec playerctl next
|
|||
bindsym --locked XF86AudioPrev exec playerctl previous
|
||||
bindsym --locked XF86MonBrightnessUp exec $brightness_up
|
||||
bindsym --locked XF86MonBrightnessDown exec $brightness_down
|
||||
bindsym --locked $mod+Space exec playerctl play-pause
|
||||
|
||||
#### special functions
|
||||
bindsym $mod+Print exec $screenshot
|
||||
|
|
Loading…
Reference in New Issue
Block a user