blob: 2fb981edd04dfcfea2e7f285926bc56244510c2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
description = "Desktop modes: dnd (do not disturb), presentation (calls, screen sharing), nolock (screen does not lock), quiet (no notification sounds). Read one, or turn it on or off. Changes it immediately; say what changed."
command = ["mode.sh", "{mode}", "{on}"]
timeout = 5
[params.mode]
type = "string"
description = "dnd, presentation, nolock or quiet"
[params.on]
type = "string"
description = "1 to turn on, 0 to turn off. Empty to only read it."
|