Fix timeout times in hypridle
For some reason when there was too much time between dim and lock it would always wake up and stay awake for ever.
This commit is contained in:
parent
455943ef3d
commit
a17aa97d68
1 changed files with 6 additions and 6 deletions
|
@ -11,23 +11,23 @@ general {
|
|||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
# Step 1: Dim monitor at 2.5 min idle (warning that it will lock soon)
|
||||
# Step 1: Dim monitor at 115 sec idle (warning that it will lock soon)
|
||||
listener {
|
||||
timeout = 150
|
||||
timeout = 115
|
||||
# Only dims the screen, does not lock yet
|
||||
# This shows you that lock will happen soon
|
||||
on-timeout = dim
|
||||
}
|
||||
|
||||
# Step 2: Lock screen at 5 min idle
|
||||
# Step 2: Lock screen at 2 min idle
|
||||
listener {
|
||||
timeout = 300
|
||||
timeout = 120
|
||||
on-timeout = ~/.config/hypr/scripts/lock.sh
|
||||
}
|
||||
|
||||
# Step 3: Turn screen off at 5.5 min idle
|
||||
# Step 3: Turn screen off at 5 min idle
|
||||
listener {
|
||||
timeout = 330
|
||||
timeout = 300
|
||||
on-timeout = hyprctl dispatch dpms off && ddcutil setvcp 10 0
|
||||
|
||||
# Explanation:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue