This repository has been archived on 2024-04-22. You can view files and clone it, but cannot push or open issues or pull requests.
caylon/kaylon.json

72 lines
1.4 KiB
JSON

{
"api-version": "v0.0.0",
"items": [
{
"element": "result-display",
"title": "Best Kaylon",
"result_of": 1
},
{
"element": "button",
"title": "Tell Me!",
"on_click": {
"action": "command",
"run": "echo ISAAC"
}
},
{
"element": "result-display",
"title": "Smartest Kaylon",
"result_of": 1
},
{
"element": "toggle",
"title": "Switch",
"description": "Toggle me!",
"on_toggle": {
"action": "command",
"run": "echo \"Toggle is now ${KAYLON_VALUE}\""
}
},
{
"element": "result-display",
"title": "",
"result_of": 3
},
{
"element": "slider",
"title": "Slider",
"min": 0,
"max": 10,
"notches": null,
"on_set": {
"action": "command",
"run": "echo \"Slider is now ${KAYLON_VALUE}\""
}
},
{
"element": "result-display",
"title": "",
"result_of": 5
},
{
"element": "reading",
"title": "Fan Speed",
"period_ms": 1000,
"on_period": {
"action": "command",
"run": "cat /sys/class/hwmon/hwmon5/fan1_input"
}
}
],
"about": {
"name": "Test name",
"version": "v0.42.0",
"description": "Test description",
"url": "https://github.com/NGnius/kaylon",
"authors": [
"NGnius <ngniusness@gmail.com>"
],
"license": "MIT"
}
}