Add systemd/manual-inhibit-sleep@.service

This commit is contained in:
2026-02-16 09:56:59 -08:00
parent 58156a116b
commit 833e4b51b0

View File

@ -0,0 +1,9 @@
[Unit]
Description=Inhibit sleep for some period of time
[Service]
Type=exec
ExecStart=systemd-inhibit --what=sleep:idle "--who=manual-inhibit-sleep@.service" --mode=block "--why=User manually inhibited sleep" sleep %i
[Install]
WantedBy=default.target