compat: update hyprlock calls to new interface
This commit is contained in:
parent
0bb0f25679
commit
37f05c1163
3 changed files with 5 additions and 6 deletions
|
|
@ -21,13 +21,13 @@ in {
|
|||
services.hypridle.enable = true;
|
||||
services.hypridle.settings = {
|
||||
general = {
|
||||
before_sleep_cmd = "hyprlock --immediate";
|
||||
before_sleep_cmd = "hyprlock";
|
||||
};
|
||||
|
||||
listener = [
|
||||
{
|
||||
timeout = 120;
|
||||
on-timeout = "hyprlock";
|
||||
on-timeout = "hyprlock --grace 180";
|
||||
}
|
||||
{
|
||||
timeout = 600;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue