diff --git a/hosts/modules/gui/sway/sway-config b/hosts/modules/gui/sway/sway-config index 23fbbfd61..8b0dffb63 100644 --- a/hosts/modules/gui/sway/sway-config +++ b/hosts/modules/gui/sway/sway-config @@ -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