[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