mirror of
https://github.com/JakeStanger/ironbar.git
synced 2024-11-29 10:33:00 +03:00
1.4 KiB
1.4 KiB
Displays custom text, with markup support.
If you only intend to run a single script, prefer the script module. For more advanced use-cases, use custom.
Configuration
Type:
label
Name | Type | Default | Description |
---|---|---|---|
label |
Dynamic String | null |
Text to show on label. |
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 |
For more information on styling, please see the styling guide.