From a00957eeeb870e28cf27aeec4bce36609c99a978 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Tue, 18 Mar 2025 22:33:02 +0100 Subject: [PATCH] Refactor timeout values for clarity --- modules/home/deUtils/hypridle.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/home/deUtils/hypridle.nix b/modules/home/deUtils/hypridle.nix index 0cd35cd..c275344 100644 --- a/modules/home/deUtils/hypridle.nix +++ b/modules/home/deUtils/hypridle.nix @@ -22,21 +22,21 @@ listener = [ { - timeout = 300; + timeout = 5 * 60; on-timeout = "brightnessctl --save --exponent set 10%"; on-resume = "brightnessctl --restore"; } { - timeout = 600; + timeout = 10 * 60; on-timeout = "hyprctl dispatch dpms off"; on-resume = "hyprctl dispatch dpms on"; } { - timeout = 610; + timeout = 10 * 60 + 10; on-timeout = "loginctl lock-session"; } { - timeout = 1800; + timeout = 30 * 60; on-timeout = "systemctl sleep"; } ];