| 1 | general { |
| 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 'hl.dsp.dpms({action="on"})' # to avoid having to press a key twice to turn on the display. |
| 5 | } |
| 6 | |
| 7 | # Timeouts (dim / screen off / lock / suspend) are set in aurora's settings app > Power, |
| 8 | # which writes this file and restarts hypridle (Idle.qml). Defaults: dim 2.5min, off 5.5min, lock 10min. |
| 9 | source = ~/.config/aurora/hypridle.conf |