mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-01 10:41:03 +02:00
feat(upower): add new formatting properties
This commit is contained in:
parent
d2adecb935
commit
76a68165f0
2 changed files with 48 additions and 16 deletions
|
@ -69,6 +69,17 @@ end:
|
|||
|
||||
</details>
|
||||
|
||||
### Formatting Tokens
|
||||
|
||||
The following tokens can be used in the `format` config option,
|
||||
and will be replaced with values from the current battery state:
|
||||
|
||||
| Token | Description |
|
||||
|----------------|------------------------------------------|
|
||||
| `{percentage}` | The battery charge percentage. |
|
||||
| `{state}` | The current battery (dis)charging state. |
|
||||
| `{remaining}` | The ETA to battery empty or full. |
|
||||
|
||||
## Styling
|
||||
|
||||
| Selector | Description |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue