- 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>
30 lines
599 B
Plaintext
30 lines
599 B
Plaintext
# hypridle-laptop.conf — Full-featured laptop idle config
|
|
|
|
general {
|
|
lock_cmd = pidof hyprlock || hyprlock
|
|
before_sleep_cmd = loginctl lock-session
|
|
after_sleep_cmd = hyprctl dispatch dpms on
|
|
}
|
|
|
|
listener {
|
|
timeout = 150
|
|
on-timeout = brightnessctl -s set 10
|
|
on-resume = brightnessctl -r
|
|
}
|
|
|
|
listener {
|
|
timeout = 150
|
|
on-timeout = brightnessctl -sd rgb:kbd_backlight set 0
|
|
on-resume = brightnessctl -rd rgb:kbd_backlight
|
|
}
|
|
|
|
listener {
|
|
timeout = 300
|
|
on-timeout = pidof hyprlock || hyprlock
|
|
}
|
|
|
|
listener {
|
|
timeout = 600
|
|
on-timeout = systemctl suspend
|
|
}
|