diff --git a/homeManagerModules/services/hypridle/default.nix b/homeManagerModules/services/hypridle/default.nix index 993e37e0..c4c35b79 100644 --- a/homeManagerModules/services/hypridle/default.nix +++ b/homeManagerModules/services/hypridle/default.nix @@ -42,8 +42,8 @@ in { } ++ lib.optional (!cfg.desktop.autoSuspend) { - timeout = 600; - on-timeout = "hyprlock"; + timeout = 630; + on-timeout = "hyprctl dispatch dpms off"; } ++ lib.optional (!cfg.desktop.autoSuspend && cfg.desktop.hyprland.enable) {