mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
The idle counter is reset between each listener
Re: #641 Co-authored-by: @marcinczenko
This commit is contained in:
@@ -11,12 +11,12 @@ listener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 300 # 5min
|
timeout = 150 # 5min
|
||||||
on-timeout = loginctl lock-session # lock screen when timeout has passed
|
on-timeout = loginctl lock-session # lock screen when timeout has passed
|
||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 330 # 5.5min
|
timeout = 30 # 5.5min
|
||||||
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
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
|
on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected
|
||||||
}
|
}
|
||||||
|
|||||||
4
migrations/1767414310.sh
Normal file
4
migrations/1767414310.sh
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user