- Updated hypridle-desktop.conf and hypridle-laptop.conf to match user preferences - Modular, device-aware idle handling 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <noreply@opencode.ai>
14 lines
463 B
Plaintext
14 lines
463 B
Plaintext
# hypridle-desktop.conf — Minimal desktop idle config
|
|
|
|
general {
|
|
lock_cmd = pidof hyprlock || hyprlock
|
|
before_sleep_cmd = loginctl lock-session
|
|
after_sleep_cmd = hyprctl dispatch dpms on
|
|
}
|
|
|
|
listener {
|
|
timeout = 600 # 10min.
|
|
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
|
on-resume = brightnessctl -r # monitor backlight restore.
|
|
}
|