yambar: mostrar batería aún en "unknown"
This commit is contained in:
parent
90be0c11e9
commit
acd8f70e60
1 changed files with 18 additions and 23 deletions
|
@ -120,6 +120,21 @@ bar:
|
||||||
- battery:
|
- battery:
|
||||||
name: BAT0
|
name: BAT0
|
||||||
poll-interval: 30
|
poll-interval: 30
|
||||||
|
anchors:
|
||||||
|
charging: &charging
|
||||||
|
list:
|
||||||
|
items:
|
||||||
|
- ramp:
|
||||||
|
tag: capacity
|
||||||
|
items:
|
||||||
|
- string: {text: , foreground: *accent, font: *nerd}
|
||||||
|
- string: {text: , foreground: *accent, font: *nerd}
|
||||||
|
- string: {text: , font: *nerd}
|
||||||
|
- string: {text: , font: *nerd}
|
||||||
|
- string: {text: , font: *nerd}
|
||||||
|
- string: {text: , font: *nerd}
|
||||||
|
- string: {text: , font: *nerd}
|
||||||
|
- string: {text: " {capacity}%"}
|
||||||
content:
|
content:
|
||||||
map:
|
map:
|
||||||
tag: state
|
tag: state
|
||||||
|
@ -140,30 +155,10 @@ bar:
|
||||||
- string: {text: , font: *nerd}
|
- string: {text: , font: *nerd}
|
||||||
- string: {text: , foreground: *accent, font: *nerd}
|
- string: {text: , foreground: *accent, font: *nerd}
|
||||||
- string: {text: " {capacity}%"}
|
- string: {text: " {capacity}%"}
|
||||||
charging:
|
|
||||||
- ramp:
|
|
||||||
tag: capacity
|
|
||||||
items:
|
|
||||||
- string: {text: , foreground: *accent, font: *nerd}
|
|
||||||
- string: {text: , foreground: *accent, font: *nerd}
|
|
||||||
- string: {text: , font: *nerd}
|
|
||||||
- string: {text: , font: *nerd}
|
|
||||||
- string: {text: , font: *nerd}
|
|
||||||
- string: {text: , font: *nerd}
|
|
||||||
- string: {text: , font: *nerd}
|
|
||||||
- string: {text: " {capacity}%"}
|
|
||||||
unknown:
|
unknown:
|
||||||
- ramp:
|
<<: *charging
|
||||||
tag: capacity
|
charging:
|
||||||
items:
|
<<: *charging
|
||||||
- string: {text: , foreground: *accent, font: *nerd}
|
|
||||||
- string: {text: , foreground: *accent, font: *nerd}
|
|
||||||
- string: {text: , font: *nerd}
|
|
||||||
- string: {text: , font: *nerd}
|
|
||||||
- string: {text: , font: *nerd}
|
|
||||||
- string: {text: , font: *nerd}
|
|
||||||
- string: {text: , font: *nerd}
|
|
||||||
- string: {text: " {capacity}%"}
|
|
||||||
full:
|
full:
|
||||||
- string: {text: , foreground: *accent, font: *nerd}
|
- string: {text: , foreground: *accent, font: *nerd}
|
||||||
- string: {text: " {capacity}% full"}
|
- string: {text: " {capacity}% full"}
|
||||||
|
|
Loading…
Reference in a new issue