shellcheck / shellcheck (push) Successful in 19s
logind ignores sleep locks when the lid closes (LidSwitchIgnoreInhibited), so install.sh and update now also take a handle-lid-switch lock. It's a separate systemd-inhibit, since polkit refuses that lock outside a local session and that mustn't cost the sleep lock too. After a long sleep, a pacman upgrade can be cut off part way and sudo's cached password expires. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>