Initial commit
This commit is contained in:
11
systemd/inhibit-sleep-for-audio.service
Normal file
11
systemd/inhibit-sleep-for-audio.service
Normal file
@ -0,0 +1,11 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user