diff --git a/conf/sway/config b/conf/sway/config index 6a68dc57..3e750b38 100644 --- a/conf/sway/config +++ b/conf/sway/config @@ -20,6 +20,9 @@ set $term footclient #set $menu dmenu_path | dmenu | xargs swaymsg exec -- set $menu bemenu-run | xargs swaymsg exec -- +# Screen lock command +set $ScreenLockCmd swaylock -c 000000 -f + ### Output configuration # # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) @@ -200,6 +203,9 @@ mode "resize" { } bindsym $mod+r mode "resize" +# Lock screen +bindsym Control+$mod+l exec $ScreenLockCmd + # # Status Bar: #