yambar: Simplify battery icon

This commit is contained in:
Donovan Glover 2023-04-30 17:35:40 -04:00
parent bc9a42e7bd
commit 8004d74a17
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -41,8 +41,8 @@ bar:
- ramp:
tag: capacity
items:
- string: {text: , foreground: ff0000ff}
- string: {text: , foreground: ffa600ff}
- string: {text: }
- string: {text: }
- string: {text: }
- string: {text: }
- string: {text: }
@ -50,7 +50,7 @@ bar:
- string: {text: }
- string: {text: }
- string: {text: }
- string: {text: , foreground: 00ff00ff}
- string: {text: }
- string: {text: "{capacity}% {estimate}", left-margin: *BMARGIN}
content:
map:
@ -60,25 +60,25 @@ bar:
state == discharging:
<<: *discharging
state == charging:
- string: {text: , foreground: 00ff00ff}
- string: {text: }
- string: {text: "{capacity}% {estimate}"}
state == full:
- string: {text: , foreground: 00ff00ff}
- string: {text: "{capacity}% full"}
- string: {text: }
- string: {text: " {capacity}%"}
state == "not charging":
- ramp:
tag: capacity
items:
- string: {text:  , foreground: ff0000ff}
- string: {text:  , foreground: ffa600ff}
- string: {text:  , foreground: 00ff00ff}
- string: {text:  , foreground: 00ff00ff}
- string: {text:  , foreground: 00ff00ff}
- string: {text:  , foreground: 00ff00ff}
- string: {text:  , foreground: 00ff00ff}
- string: {text:  , foreground: 00ff00ff}
- string: {text:  , foreground: 00ff00ff}
- string: {text:  , foreground: 00ff00ff}
- string: {text: }
- string: {text: }
- string: {text: }
- string: {text: }
- string: {text: }
- string: {text: }
- string: {text: }
- string: {text: }
- string: {text: }
- string: {text: }
- string: {text: "{capacity}%"}
-
backlight:

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB