Added format and format-alt config properties

This commit is contained in:
Erik Reider
2022-03-19 21:15:48 +01:00
parent c4282cfacc
commit 0764e9ad6e
3 changed files with 94 additions and 12 deletions

View File

@ -16,6 +16,16 @@ compatible devices in the tooltip.
default: 20 ++
Defines the size of the icons.
*format*: ++
typeof: string ++
default: {percentage} ++
The text format.
*format-alt*: ++
typeof: string ++
default: {percentage} {time} ++
The text format when toggled.
*hide-if-empty*: ++
typeof: bool ++
default: true ++
@ -32,6 +42,13 @@ compatible devices in the tooltip.
Defines the spacing between the tooltip device name and device battery ++
status.
# FORMAT REPLACEMENTS
*{percentage}*: The battery capacity in percentage
*{time}*: An estimated time either until empty or until fully charged ++
depending on the charging state.
# EXAMPLES
```