mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
1189f86c1a
* Add Suspend/Resume support * Support Suspend/Resume/Restart via API, UI and Systray * Support screen lock/unlock scenario * Handle idle scenario * Align with fix for #1368 * Update Windows build * Refactor SuspendHandler to maintain state * Do not start BG-Effect, if system goes into suspend mode * Correct Idle and Resume interaction
21 lines
368 B
JSON
21 lines
368 B
JSON
{
|
|
"type":"object",
|
|
"required":true,
|
|
"properties":{
|
|
"command": {
|
|
"type" : "string",
|
|
"required" : true,
|
|
"enum" : ["system"]
|
|
},
|
|
"tan" : {
|
|
"type" : "integer"
|
|
},
|
|
"subcommand": {
|
|
"type" : "string",
|
|
"required" : true,
|
|
"enum": [ "restart", "resume", "suspend", "toggleSuspend", "idle", "toggleIdle" ]
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|