From 88cee1016de72e1bb804104af90c7b635ccade67 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Mon, 2 Jun 2025 21:49:26 +0800 Subject: [PATCH] chore: adjust hypridle's timeout --- home/linux/gui/hyprland/conf/hypridle.conf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/home/linux/gui/hyprland/conf/hypridle.conf b/home/linux/gui/hyprland/conf/hypridle.conf index 3edb15be..137c6037 100644 --- a/home/linux/gui/hyprland/conf/hypridle.conf +++ b/home/linux/gui/hyprland/conf/hypridle.conf @@ -13,25 +13,25 @@ general { # on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight. # } -listener { - timeout = 180 # 3min. - on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor. - on-resume = brightnessctl -r # monitor backlight restore. -} +# listener { +# timeout = 600 # 10min. +# on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor. +# on-resume = brightnessctl -r # monitor backlight restore. +# } listener { - timeout = 300 # 5 minutes + timeout = 1200 # 20 minutes on-timeout = pidof hyprlock || hyprlock # lock screen on-resume = hyprctl dispatch dpms on # monitor wake up } listener { - timeout = 360 # 6 minutes + timeout = 1260 # 21 minutes on-timeout = hyprctl dispatch dpms off # screen off on-resume = hyprctl dispatch dpms on && brightnessctl -r # monitor wake up & screen on } # listener { -# timeout = 600 # 10min +# timeout = 1800 # 30min # on-timeout = systemctl suspend # suspend pc # }