blob: c6e2ac85153c8a6f8a3db5d02962a6499a791711 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
general {
lock_cmd = pidof hyprlock || hyprlock
before_sleep_cmd = loginctl lock-session
after_sleep_cmd = hyprctl dispatch dpms on
ignore_dbus_inhibit = false
}
# Dim screen after 2.5 min
listener {
timeout = 150
on-timeout = brightnessctl -s set 10%
on-resume = brightnessctl -r
}
# Lock after 5 min
listener {
timeout = 300
on-timeout = loginctl lock-session
}
# Display off after 5.5 min
listener {
timeout = 330
on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
}
# Suspend after 30 min
listener {
timeout = 1800
on-timeout = systemctl suspend
}
|