Files
dotfiles/config/hypr/hypridle.conf
2025-10-19 00:14:19 +02:00

24 lines
527 B
Plaintext
Executable File

$lock_cmd = pidof hyprlock || hyprlock
$suspend_cmd = pidof steam || systemctl suspend || loginctl suspend # fuck nvidia
general {
lock_cmd = $lock_cmd
before_sleep_cmd = loginctl lock-session
}
listener {
timeout = 180 # 3mins
on-timeout = loginctl lock-session
}
listener {
timeout = 300 # 5mins
on-timeout = hyprctl dispatch dpms off || niri msg action power-off-monitors
on-resume = hyprctl dispatch dpms on || true
}
#listener {
# timeout = 540 # 9mins
# on-timeout = $suspend_cmd
#}