refactor(waybar): improve battery module

This commit is contained in:
Price Hiller 2023-07-04 04:18:31 -05:00
parent c1a0979dfa
commit fd943292b7
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8
2 changed files with 13 additions and 6 deletions

View File

@ -41,9 +41,13 @@
"critical": 10
},
"tooltip": false,
"interval": 3,
"full-at": 95,
"format-plugged": "{icon} {capacity}%",
"format-charging": "{icon} {capacity}%",
"format-plugged": "󰚥{icon} {capacity}%",
"format-charging": "󱐋{icon} {capacity}%",
"format-near-critical": "󱈸{icon} {capacity}%",
"format-warning": "{icon} {capacity}%",
"format-critical": "󱈸{icon} {capacity}%",
"format": "{icon} {capacity}%",
"format-icons": [
"",

View File

@ -150,17 +150,20 @@
color: #98bb6c;
}
#battery.warning {
#battery.discharging.warning {
color: #e6c384;
}
#battery.near-critical {
#battery.discharging.near-critical {
color: #c34043;
}
#battery.critical {
#battery.discharging.critical {
color: #e82424;
animation: blink_text 1.5s linear infinite;
}
#battery.charging {
color: #A3D4D5;
}
/* Audio Device & Wireplumber Audio Return */