commit 0bcd8e2fca3ecd043f226faad1058680f541130b
parent ab1946bbc083c5b446ffce3942d088d0dc5c57f8
Author: Chris Bracken <chris@bracken.jp>
Date: Tue, 17 Dec 2019 23:49:23 -0800
Set lock screen shortcut for Sway
Control+$mod+l now triggers swaylock.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/.config/sway/config b/.config/sway/config
@@ -51,6 +51,8 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
+set $lock_screen swaylock -c 000000
+bindsym Control+$mod+l exec $lock_screen
### Input configuration
#