forked from extern/nix-config
yambar: Simplify battery icon
This commit is contained in:
parent
bc9a42e7bd
commit
8004d74a17
@ -41,8 +41,8 @@ bar:
|
|||||||
- ramp:
|
- ramp:
|
||||||
tag: capacity
|
tag: capacity
|
||||||
items:
|
items:
|
||||||
- string: {text: , foreground: ff0000ff}
|
- string: {text: }
|
||||||
- string: {text: , foreground: ffa600ff}
|
- string: {text: }
|
||||||
- string: {text: }
|
- string: {text: }
|
||||||
- string: {text: }
|
- string: {text: }
|
||||||
- string: {text: }
|
- string: {text: }
|
||||||
@ -50,7 +50,7 @@ bar:
|
|||||||
- string: {text: }
|
- string: {text: }
|
||||||
- string: {text: }
|
- string: {text: }
|
||||||
- string: {text: }
|
- string: {text: }
|
||||||
- string: {text: , foreground: 00ff00ff}
|
- string: {text: }
|
||||||
- string: {text: "{capacity}% {estimate}", left-margin: *BMARGIN}
|
- string: {text: "{capacity}% {estimate}", left-margin: *BMARGIN}
|
||||||
content:
|
content:
|
||||||
map:
|
map:
|
||||||
@ -60,25 +60,25 @@ bar:
|
|||||||
state == discharging:
|
state == discharging:
|
||||||
<<: *discharging
|
<<: *discharging
|
||||||
state == charging:
|
state == charging:
|
||||||
- string: {text: , foreground: 00ff00ff}
|
- string: {text: }
|
||||||
- string: {text: "{capacity}% {estimate}"}
|
- string: {text: "{capacity}% {estimate}"}
|
||||||
state == full:
|
state == full:
|
||||||
- string: {text: , foreground: 00ff00ff}
|
- string: {text: }
|
||||||
- string: {text: "{capacity}% full"}
|
- string: {text: " {capacity}%"}
|
||||||
state == "not charging":
|
state == "not charging":
|
||||||
- ramp:
|
- ramp:
|
||||||
tag: capacity
|
tag: capacity
|
||||||
items:
|
items:
|
||||||
- string: {text: , foreground: ff0000ff}
|
- string: {text: }
|
||||||
- string: {text: , foreground: ffa600ff}
|
- string: {text: }
|
||||||
- string: {text: , foreground: 00ff00ff}
|
- string: {text: }
|
||||||
- string: {text: , foreground: 00ff00ff}
|
- string: {text: }
|
||||||
- string: {text: , foreground: 00ff00ff}
|
- string: {text: }
|
||||||
- string: {text: , foreground: 00ff00ff}
|
- string: {text: }
|
||||||
- string: {text: , foreground: 00ff00ff}
|
- string: {text: }
|
||||||
- string: {text: , foreground: 00ff00ff}
|
- string: {text: }
|
||||||
- string: {text: , foreground: 00ff00ff}
|
- string: {text: }
|
||||||
- string: {text: , foreground: 00ff00ff}
|
- string: {text: }
|
||||||
- string: {text: "{capacity}%"}
|
- string: {text: "{capacity}%"}
|
||||||
-
|
-
|
||||||
backlight:
|
backlight:
|
||||||
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.4 KiB |
Loading…
Reference in New Issue
Block a user