From 221967f3680a86d264a5d947d4a7e21f79b0750a Mon Sep 17 00:00:00 2001 From: krolxon Date: Mon, 4 Aug 2025 21:47:24 +0530 Subject: [PATCH] hypridle config --- .config/hypr/hypridle.conf | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf index c3e56cd..d7a7c9d 100644 --- a/.config/hypr/hypridle.conf +++ b/.config/hypr/hypridle.conf @@ -5,17 +5,23 @@ general { } listener { - timeout = 330 # 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. + timeout = 150 # 2.5min. + on-timeout = brightnessctl -s set 5 # set monitor backlight to minimum, avoid 0 on OLED monitor. + on-resume = brightnessctl -r # monitor backlight restore. } listener { - timeout = 120 # 2min + timeout = 300 # 5min on-timeout = loginctl lock-session # lock screen when timeout has passed } listener { - timeout = 900 # 30min + timeout = 330 # 5.5min + on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed + on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected after timeout has fired. +} + +listener { + timeout = 1800 # 30min on-timeout = systemctl suspend # suspend pc }