blob: 1b58aa46110314c61bcc38ef2442a562cadb1cfd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[Login]
# Suspend is disabled while the linux-hardened wake-from-S3 hang is
# unresolved (NVMe / i915 / iwlwifi driver UAF surfaced by INIT_ON_FREE
# + slab hardening). Lid close, suspend/hibernate keys, and idle action
# all fall back to session lock instead of suspend. The sleep/suspend/
# hibernate targets are also masked at the unit level via the etc/
# deploy script as belt-and-braces against `systemctl suspend` from
# anywhere. Screen-off (DPMS) and swaylock continue to be driven by
# swayidle and are unaffected.
HandleLidSwitch=lock
HandleLidSwitchExternalPower=lock
HandleLidSwitchDocked=ignore
HandleSuspendKey=lock
HandleSuspendKeyLongPress=ignore
HandleHibernateKey=lock
HandleHibernateKeyLongPress=ignore
IdleAction=ignore
|