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

9 lines
150 B
Plaintext
Raw Normal View History

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