-
Notifications
You must be signed in to change notification settings - Fork 61
Script
Jake Stanger edited this page Aug 14, 2022
·
11 revisions
Executes a script and shows the result of stdout
on a label.
Type:
script
Name | Type | Default | Description |
---|---|---|---|
path |
string |
null |
Path to the script on disk |
interval |
number |
5000 |
Number of milliseconds to wait between executing script |
JSON
{
"right": [
{
"type": "script",
"path": "/home/jake/.local/bin/phone-battery",
"interval": 5000
}
]
}
TOML
[[right]]
type = "script"
path = "/home/jake/.local/bin/phone-battery"
interval = 5000
YAML
right:
- type: "script"
path: "/home/jake/.local/bin/phone-battery"
interval : 5000
Corn
{
right = [
{
type = "script"
path = "/home/jake/.local/bin/phone-battery"
interval = 5000
}
]
}
Selector | Description |
---|---|
#script |
Script widget label |