swayidle: Set screenlock as global locker

This commit is contained in:
2024-07-15 12:59:41 +02:00
parent c6fb3b04dd
commit d495f5756c

View File

@ -1,4 +1,6 @@
lock '$HOME/.local/bin/screenlock'
timeout 530 'notify-send "Locking in 30s"'
before-sleep 'screenlock'
timeout 600 'screenlock'
before-sleep 'loginctl lock-session'
timeout 600 'loginctl lock-session'
timeout 610 'niri msg action power-off-monitors'