add hypr-lid service for clamshell and delayed lid sleep

This commit is contained in:
2026-08-14 18:16:31 -06:00
parent 96c4d36714
commit db72a5a635
6 changed files with 136 additions and 5 deletions
@@ -0,0 +1,7 @@
# Hyprland handles the laptop lid itself via the hypr-lid service
# (clamshell when external displays are attached, delayed lock/suspend
# otherwise). logind must not suspend immediately on lid close.
[Login]
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore