machine_setup/ansible/roles/sway/files/sway_config_files/lockscreen.conf
2022-11-28 23:05:46 -05:00

7 lines
161 B
Plaintext

# Hotkey to lock the screen
bindsym $mod+l exec pkill -USR1 swayidle
exec swayidle \
timeout 300 'swaylock -c 000000' \
before-sleep 'swaylock -c 000000'