sway: add Super+space to toggle media

This commit is contained in:
Colin 2024-02-06 23:13:50 +00:00
parent 2a5398beb3
commit a6becb8c42

View File

@ -67,6 +67,7 @@ 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
@ -86,8 +87,8 @@ bindsym $mod+f fullscreen toggle
bindsym $mod+a focus parent
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
bindsym $mod+Shift+space floating toggle
bindsym $mod+space focus mode_toggle
# bindsym $mod+Shift+space floating toggle
# bindsym $mod+space focus mode_toggle
bindsym $mod+r mode resize
#### movement
@ -121,8 +122,8 @@ bindsym $mod+Shift+8 move container to workspace number 8
bindsym $mod+Shift+9 move container to workspace number 9
#### "scratchpad" = ??
bindsym $mod+Shift+minus move scratchpad
bindsym $mod+minus scratchpad show
# bindsym $mod+Shift+minus move scratchpad
# bindsym $mod+minus scratchpad show
mode "resize" {
bindsym Down resize grow height 30 px