diff --git a/config/hypr/hypridle.conf b/config/hypr/hypridle.conf index f2245a7a..59f55860 100644 --- a/config/hypr/hypridle.conf +++ b/config/hypr/hypridle.conf @@ -11,12 +11,12 @@ listener { } listener { - timeout = 300 # 5min + timeout = 150 # 5min on-timeout = loginctl lock-session # lock screen when timeout has passed } listener { - timeout = 330 # 5.5min + timeout = 30 # 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 } diff --git a/migrations/1767414310.sh b/migrations/1767414310.sh new file mode 100644 index 00000000..7ab1d2f0 --- /dev/null +++ b/migrations/1767414310.sh @@ -0,0 +1,4 @@ +echo "Use correct idle-timer sensitive timeouts for screensaver + screen off" + +sed -i 's/timeout = 300/timeout = 150/' ~/.config/hypr/hypridle.conf +sed -i 's/timeout = 330/timeout = 30/' ~/.config/hypr/hypridle.conf