From 7828bbbe172a1b56f67285bd0848fc68fddc078e Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 18 May 2024 15:05:56 +0530 Subject: [PATCH] adjust idle timings --- home/wm/addon/hypridle.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/home/wm/addon/hypridle.nix b/home/wm/addon/hypridle.nix index 7952b8a..9b0c30d 100644 --- a/home/wm/addon/hypridle.nix +++ b/home/wm/addon/hypridle.nix @@ -16,26 +16,26 @@ in }; listener = [ { - timeout = 240; - on-timeout = "${brightnessctl} -s set 30"; - on-resume = "${brightnessctl} -r"; - } - { - timeout = 240; + timeout = 10; on-timeout = "${brightnessctl} -sd dell::kbd_backlight set 0"; on-resume = "${brightnessctl} -rd dell::kbd_backlight"; } { - timeout = 600; + timeout = 150; + on-timeout = "${brightnessctl} -s set 30"; + on-resume = "${brightnessctl} -r"; + } + { + timeout = 300; on-timeout = lock-session; } { - timeout = 660; + timeout = 420; on-timeout = "${hyprctl} dispatch dpms off"; on-resume = "${hyprctl} dispatch dpms on"; } { - timeout = 900; + timeout = 600; on-timeout = "${pkgs.systemd}/bin/systemctl suspend"; } ];