mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-04-20 11:54:23 +02:00
Takes a text label, with the ability to include embedded scripts. Resolves #80.
1.3 KiB
1.3 KiB
Displays custom text, with the ability to embed scripts.
Configuration
Type:
label
Name | Type | Default | Description |
---|---|---|---|
label |
string |
null |
Text, optionally with embedded scripts. |
JSON
{
"end": [
{
"type": "label",
"label": "random num: {{500:echo $RANDOM}}"
}
]
}
TOML
[[end]]
type = "label"
label = "random num: {{500:echo $RANDOM}}"
YAML
end:
- type: "label"
label: "random num: {{500:echo $RANDOM}}"
Corn
{
end = [
{
type = "label"
label = "random num: {{500:echo $RANDOM}}"
}
]
}
Styling
Selector | Description |
---|---|
#label |
Label widget |