Krolyxon
Commit 229376d

Branches

Refs →

aurora.confighyprhypridle.conf

27 lines · 1.2 KB · nginx

1general {
2 lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
3 before_sleep_cmd = loginctl lock-session # lock before suspend.
4 after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
5}
6
7listener {
8 timeout = 150 # 2.5min.
9 on-timeout = brightnessctl -s set 5 # set monitor backlight to minimum, avoid 0 on OLED monitor.
10 on-resume = brightnessctl -r # monitor backlight restore.
11}
12
13listener {
14 timeout = 600 # 10min
15 on-timeout = loginctl lock-session # lock screen when timeout has passed
16}
17
18listener {
19 timeout = 330 # 5.5min
20 on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
21 on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected after timeout has fired.
22}
23
24# listener {
25# timeout = 1800 # 30min
26# on-timeout = systemctl suspend # suspend pc
27# }