mirror of
https://github.com/JakeStanger/ironbar.git
synced 2024-11-27 12:42:46 +03:00
c3e9654cd3
Adds missing `icon_size` config option to upower module.
1.9 KiB
1.9 KiB
Displays system power information such as the battery percentage, and estimated time to empty.
TODO: ADD SCREENSHOT
Configuration
Type:
upower
Name | Type | Default | Description |
---|---|---|---|
format |
string |
{percentage}% |
Format string to use for the widget button label. |
icon_size |
integer |
24 |
Size to render icon at. |
JSON
{
"end": [
{
"type": "upower",
"format": "{percentage}%"
}
]
}
TOML
[[end]]
type = "upower"
format = "{percentage}%"
YAML
end:
- type: "upower"
format: "{percentage}%"
Corn
{
end = [
{
type = "upower"
format = "{percentage}%"
}
]
}
Styling
Selector | Description |
---|---|
.upower |
Upower widget container. |
.upower .button |
Upower widget button. |
.upower .button .contents |
Upower widget button contents. |
.upower .button .icon |
Upower widget battery icon. |
.upower .button .label |
Upower widget button label. |
.popup-upower |
Upower popup box. |
.popup-upower .upower-details |
Label inside the popup. |
For more information on styling, please see the styling guide.