diff options
Diffstat (limited to 'config/GeneralConfig.qml')
| -rw-r--r-- | config/GeneralConfig.qml | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/config/GeneralConfig.qml b/config/GeneralConfig.qml index 4d7a79c..d53364b 100644 --- a/config/GeneralConfig.qml +++ b/config/GeneralConfig.qml @@ -14,9 +14,21 @@ JsonObject { component Idle: JsonObject { property bool inhibitWhenAudio: true - property real lockTimeout: 180 // 3 mins - property real dpmsTimeout: 300 // 5 mins - property real sleepTimeout: 600 // 10 mins + property list<var> timeouts: [ + { + timeout: 180, + idleAction: "lock" + }, + { + timeout: 300, + idleAction: "dpms off", + returnAction: "dpms on" + }, + { + timeout: 600, + idleAction: ["systemctl", "suspend-then-hibernate"] + } + ] } component Battery: JsonObject { |