Added a screen lock for Sway

This commit is contained in:
Serĉanto de Scio 2019-10-01 14:36:34 +10:00
parent 8542bfdbfc
commit 7215adc10a
Signed by: sercanto
GPG key ID: A4122FF3971B6865

View file

@ -18,6 +18,8 @@ set $term termonad
# Your preferred application launcher # Your preferred application launcher
# Note: it's recommended that you pass the final command to sway # Note: it's recommended that you pass the final command to sway
set $menu dmenu_path | dmenu | xargs swaymsg exec set $menu dmenu_path | dmenu | xargs swaymsg exec
# Set your preferred screen locker
set $lock swaylock -f -c 000000
### Output configuration ### Output configuration
# #
@ -62,6 +64,8 @@ set $menu dmenu_path | dmenu | xargs swaymsg exec
# #
# Basics: # Basics:
# #
# Lock the screen
bindsym $mod+Control+l exec $lock
# start a terminal # start a terminal
bindsym $mod+Return exec $term bindsym $mod+Return exec $term