mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
The idle counter is reset between each listener
Re: #641 Co-authored-by: @marcinczenko
This commit is contained in:
co-authored by
@marcinczenko
parent
a9cea21463
commit
807c74d405
@@ -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
|
||||
}
|
||||
|
||||
@@ -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