Waybar: Add format-full to hide time when the variable is empty.
This commit is contained in:
parent
bfc03fb2d0
commit
edcc4db0c7
1 changed files with 3 additions and 2 deletions
|
@ -134,8 +134,9 @@
|
|||
"format-time": "{H}:{m}",
|
||||
"format": "{icon} {capacity}% ({time})",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-charging-100": " {capacity}% ({time})",
|
||||
"format-plugged": " {capacity}% ({time})",
|
||||
"format-full": "{icon} {capacity}%",
|
||||
"format-charging-100": " {capacity}%",
|
||||
"format-charging-90": " {capacity}% ({time})",
|
||||
"format-charging-80": " {capacity}% ({time})",
|
||||
"format-charging-70": " {capacity}% ({time})",
|
||||
|
|
Loading…
Reference in a new issue