Dotfiles/etc-systemd-sleep/90-hyprlua-hibernate-delay....

10 lines
568 B
Plaintext

# Deployed to /etc/systemd/sleep.conf.d/90-hyprlua-hibernate-delay.conf by
# sysupdate.sh's _deploy_systemd_sleep(). Paired with hypr/hypridle.conf's idle
# listeners: lock at 30s, `systemctl suspend-then-hibernate` at 1 minute. Without
# HibernateDelaySec set, systemd estimates the suspend-to-hibernate delay from
# battery drain (or a multi-hour fallback on AC-only machines) — not the fixed
# schedule we want. 4740s (79 min) here + the 1 min idle-to-sleep listener lands
# hibernate ~80 minutes after the machine first went idle.
[Sleep]
HibernateDelaySec=4740