machine_setup/ansible/roles/sway/files/sway_config_files/lockscreen.conf

7 lines
161 B
Plaintext
Raw Normal View History

2022-11-29 03:48:44 +00:00
# Hotkey to lock the screen
bindsym $mod+l exec pkill -USR1 swayidle
exec swayidle \
timeout 300 'swaylock -c 000000' \
before-sleep 'swaylock -c 000000'