blob: 5a4fe242382d9419fd43d2b362de950fac0b36ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Hypridle configuration
# Replaces xautolock -time 5 -locker slock
general {
lock_cmd = pidof hyprlock || hyprlock
before_sleep_cmd = loginctl lock-session
after_sleep_cmd = hyprctl dispatch dpms on
}
# Screen dim after 5 minutes
listener {
timeout = 300
on-timeout = brightnessctl -s set 10%
on-resume = brightnessctl -r
}
# Lock screen after 7 minutes
listener {
timeout = 420
on-timeout = loginctl lock-session
}
|