sway: add swaylock bind

This commit is contained in:
Aminda Suomalainen 2022-04-15 10:40:31 +03:00
parent d77f0d6bdc
commit 76bfa107fe
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -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:
#