From 7215adc10acc11c41643a1cee76ff37c67872e53 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Tue, 1 Oct 2019 14:36:34 +1000 Subject: [PATCH] Added a screen lock for Sway --- .config/sway/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/sway/config b/.config/sway/config index 5fa33a6..a1d1a8c 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -18,6 +18,8 @@ set $term termonad # Your preferred application launcher # Note: it's recommended that you pass the final command to sway set $menu dmenu_path | dmenu | xargs swaymsg exec +# Set your preferred screen locker +set $lock swaylock -f -c 000000 ### Output configuration # @@ -62,6 +64,8 @@ set $menu dmenu_path | dmenu | xargs swaymsg exec # # Basics: # + # Lock the screen + bindsym $mod+Control+l exec $lock # start a terminal bindsym $mod+Return exec $term