[Unit] Description=Prevent system sleep while audio is playing PartOf=graphical-session.target After=graphical-session.target [Service] Type=exec ExecStart=%h/scripts/cl/bin/inhibit-sleep-for-audio [Install] WantedBy=graphical-session.target