[Unit] Description=Handle laptop docking PartOf=graphical-session.target After=graphical-session.target [Service] Type=exec ExecStart=%h/scripts/laptop-lid-daemon [Install] WantedBy=graphical-session.target