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,13 @@
[Unit]
Description=Hyprland lid and clamshell monitor handler
After=graphical-session.target
PartOf=graphical-session.target
[Service]
Type=simple
ExecStart=%h/.local/bin/hypr-lid.sh
Restart=on-failure
RestartSec=3
[Install]
WantedBy=graphical-session.target