mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-11-21 16:19:36 +01:00
Lock screen after 120s
This commit is contained in:
parent
582418bbee
commit
be29a4b29a
@ -34,8 +34,8 @@ exec-once = /usr/libexec/kf5/polkit-kde-authentication-agent-1
|
||||
|
||||
# Dim screen after 60 seconds of inactivity
|
||||
exec-once = swayidle -w timeout 60 'dim-screen &' resume 'undim-screen'
|
||||
# Lock screen after idle for 300s
|
||||
exec-once = swayidle -w timeout 300 'lock-screen'
|
||||
# Lock screen after idle for 120s
|
||||
exec-once = swayidle -w timeout 120 'lock-screen'
|
||||
# Dim screen 5 seconds after screen is locked. no -w option here.
|
||||
exec-once = swayidle timeout 5 'if pgrep -x swaylock; then dim-screen; fi' resume 'undim-screen'
|
||||
# Turn monitors off 20 seconds after screen is locked
|
||||
|
Loading…
Reference in New Issue
Block a user