commit b1a123a69292351fe58e31c5e32585be17fc0e1e (patch)
parent 6173ef1f8bc71ca8a436069ad268ef37d5ab81f4
Author: Alex Karle <alex@alexkarle.com>
Date: Wed, 25 Nov 2020 21:45:50 -0500
sway: Lock screen on Mod+;
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.config/sway/config b/.config/sway/config
@@ -75,6 +75,9 @@ input "type:keyboard" {
# Start your launcher
bindsym $mod+p exec $menu
+ # lock the screen
+ bindsym $mod+Semicolon exec swaylock -c 000100
+
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows.