mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-10-26 03:41:53 +01:00
1.3 KiB
1.3 KiB
Executes a script and shows the result of stdout on a label.
Pango markup is supported.
Configuration
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
{
"end": [
{
"type": "script",
"path": "/home/jake/.local/bin/phone-battery",
"interval": 5000
}
]
}
TOML
[[end]]
type = "script"
path = "/home/jake/.local/bin/phone-battery"
interval = 5000
YAML
end:
- type: "script"
path: "/home/jake/.local/bin/phone-battery"
interval : 5000
Corn
{
end = [
{
type = "script"
path = "/home/jake/.local/bin/phone-battery"
interval = 5000
}
]
}
Styling
| Selector | Description |
|---|---|
#script |
Script widget label |