refactor(waybar): improve battery module
This commit is contained in:
parent
c1a0979dfa
commit
fd943292b7
@ -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": [
|
||||
"",
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user