swayidle: Set screenlock as global locker
This commit is contained in:
@ -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'
|
||||
|
||||
Reference in New Issue
Block a user