We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1850597 commit dbd716bCopy full SHA for dbd716b
1 file changed
modules/home/services/hypridle/default.nix
@@ -24,13 +24,13 @@ in
24
after_sleep_cmd = "${getExe' config.wayland.windowManager.hyprland.package "hyprctl"} dispatch dpms on";
25
before_sleep_cmd = "loginctl lock-session";
26
ignore_dbus_inhibit = false;
27
- lock_cmd = "pgrep hyprlock || ${getExe config.programs.hyprlock.package}";
+ lock_cmd = "pidof hyprlock || ${getExe config.programs.hyprlock.package} --grace 300";
28
};
29
30
listener = [
31
{
32
timeout = 300;
33
- on-timeout = "${getExe config.programs.hyprlock.package} --grace 300";
+ on-timeout = "loginctl lock-session";
34
}
35
36
timeout = 600;
0 commit comments