diff options
Diffstat (limited to 'examples/tools/mode.toml')
| -rw-r--r-- | examples/tools/mode.toml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/tools/mode.toml b/examples/tools/mode.toml new file mode 100644 index 0000000..2fb981e --- /dev/null +++ b/examples/tools/mode.toml @@ -0,0 +1,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." |
