mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
idle: added support for custom commands
This commit is contained in:
@@ -722,10 +722,11 @@ Singleton {
|
||||
// idle management
|
||||
property JsonObject idle: JsonObject {
|
||||
property bool enabled: false
|
||||
property int screenOffTimeout: 0 // minutes, 0 = disabled
|
||||
property int lockTimeout: 0 // minutes, 0 = disabled
|
||||
property int suspendTimeout: 0 // minutes, 0 = disabled
|
||||
property int screenOffTimeout: 0 // seconds, 0 = disabled
|
||||
property int lockTimeout: 0 // seconds, 0 = disabled
|
||||
property int suspendTimeout: 0 // seconds, 0 = disabled
|
||||
property int fadeDuration: 5 // seconds of fade-to-black before action fires
|
||||
property string customCommands: "[]" // JSON array of {timeout, command}
|
||||
}
|
||||
|
||||
// desktop widgets
|
||||
|
||||
Reference in New Issue
Block a user