From 62f68b6570018ce18f1143dfd6e8c23dc974ff83 Mon Sep 17 00:00:00 2001 From: coja Date: Sun, 12 Apr 2026 00:50:46 +0200 Subject: [PATCH] [Hypr] hypridle fix --- .config/hypr/hypridle.conf | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf index a974206..d43ef04 100644 --- a/.config/hypr/hypridle.conf +++ b/.config/hypr/hypridle.conf @@ -17,19 +17,25 @@ general { } listener { - timeout = 210 # 5min + timeout = 180 + on-timeout = bash -c 'brightnessctl -s set 50' + on-resume = bash -c 'brightnessctl -r' +} + +listener { + timeout = 250 # 5min on-timeout = loginctl lock-session # lock screen when timeout has passed } listener { - timeout = 220 # 3.6 minutes - on-timeout = bash -c 'brightnessctl -s set 10; brightnessctl -d tpacpi::kbd_backlight set 0; hyprctl dispatch dpms off' + timeout = 350 # 3.6 minutes + on-timeout = bash -c 'brightnessctl -r; brightnessctl -s set 10; brightnessctl -d tpacpi::kbd_backlight set 0; hyprctl dispatch dpms off' on-resume = bash -c 'brightnessctl -r; brightnessctl -d tpacpi::kbd_backlight set 1; hyprctl dispatch dpms on' } listener { - timeout = 230 # 5.5min + timeout = 550 # 5.5min on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. }