From 95fc1c7fba297044dd2d8f3399c72864d7d2c908 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 23 Sep 2025 14:38:44 +1000 Subject: idlemonitor: configurable timeouts Closes #669 --- README.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 421b012..71aedbf 100644 --- a/README.md +++ b/README.md @@ -279,9 +279,21 @@ default, you must create it manually. }, "idle": { "inhibitWhenAudio": true, - "lockTimeout": 180, - "dpmsTimeout": 300, - "sleepTimeout": 600 + "timeouts": [ + { + "timeout": 180, + "idleAction": "lock" + }, + { + "timeout": 300, + "idleAction": "dpms off", + "returnAction": "dpms on" + }, + { + "timeout": 600, + "idleAction": ["systemctl", "suspend-then-hibernate"] + } + ] } }, "background": { -- cgit v1.2.3-freya