Merge pull request #429 from matejc/main

systemd-inhibit: remove sleep
This commit is contained in:
Lysec
2025-10-06 17:13:06 +02:00
committed by GitHub

View File

@@ -131,7 +131,7 @@ Singleton {
// Systemd inhibition using systemd-inhibit
function startSystemdInhibition() {
inhibitorProcess.command = ["systemd-inhibit", "--what=idle:sleep", "--why=" + reason, "--mode=block", "sleep", "infinity"]
inhibitorProcess.command = ["systemd-inhibit", "--what=idle", "--why=" + reason, "--mode=block", "sleep", "infinity"]
inhibitorProcess.running = true
}