From ca52a66a2dfc782fed83687f3b63a80da56c03c8 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 23 Nov 2024 19:35:50 -0500 Subject: [PATCH] hypridle: turn screen off after 630s --- homeManagerModules/services/hypridle/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {