mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 22:55:52 +05:30
Updated hyprland screen lock behavior
This commit is contained in:
parent
43f7004749
commit
39bd03e025
|
@ -607,11 +607,16 @@ in
|
|||
}
|
||||
|
||||
listener {
|
||||
timeout = 300 # in seconds
|
||||
timeout = 150 # in seconds
|
||||
on-timeout = loginctl lock-session
|
||||
}
|
||||
listener {
|
||||
timeout = 600 # in seconds
|
||||
timeout = 165 # in seconds
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
}
|
||||
listener {
|
||||
timeout = 7200 # in seconds
|
||||
on-timeout = systemctl suspend
|
||||
}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue