mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-25 13:25:39 +02:00
parent
66ec7a85a1
commit
8324112504
1 changed files with 12 additions and 5 deletions
|
@ -248,11 +248,10 @@ bar:
|
|||
- battery:
|
||||
name: BAT0
|
||||
poll-interval: 30
|
||||
content:
|
||||
map:
|
||||
tag: state
|
||||
values:
|
||||
discharging:
|
||||
anchors:
|
||||
discharging: &discharging
|
||||
list:
|
||||
items:
|
||||
- ramp:
|
||||
tag: capacity
|
||||
items:
|
||||
|
@ -267,6 +266,14 @@ bar:
|
|||
- string: {text: , font: *awesome}
|
||||
- string: {text: , foreground: 00ff00ff, font: *awesome}
|
||||
- string: {text: "{capacity}% {estimate}"}
|
||||
content:
|
||||
map:
|
||||
tag: state
|
||||
values:
|
||||
unknown:
|
||||
<<: *discharging
|
||||
discharging:
|
||||
<<: *discharging
|
||||
charging:
|
||||
- string: {text: , foreground: 00ff00ff, font: *awesome}
|
||||
- string: {text: "{capacity}% {estimate}"}
|
||||
|
|
Loading…
Add table
Reference in a new issue