Waybar: Adjust battery icon colors.

This commit is contained in:
the_4n0nym0u53 2021-11-28 21:45:10 +01:00
parent 97f7663a8e
commit b37dc8db40
No known key found for this signature in database
GPG Key ID: 35EE09F5481049BB
1 changed files with 8 additions and 7 deletions

View File

@ -10,7 +10,6 @@
window#waybar {
background-color: rgba(10, 10, 10, 0.8);
color: #66e6e6;
transition-property: background-color;
transition-duration: .5s;
}
@ -88,13 +87,13 @@ window#waybar.hidden {
}
#battery {
color: #66e6e6;
box-shadow: inset 0 -2px #66e6e6;
box-shadow: inset 0 -2px #ffffff;
}
#battery.charging, #battery.plugged {
color: #29ab00;
box-shadow: inset 0 -2px #29ab00;
background-color: transparent;
}
@keyframes blink {
@ -104,9 +103,12 @@ window#waybar.hidden {
}
}
#battery.warning:not(.charging) {
background-color: #b27400;
}
#battery.critical:not(.charging) {
background-color: #f53c3c;
color: #ffffff;
background-color: #ce0000;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
@ -174,8 +176,7 @@ label:focus {
}
#tray {
color: #66e6e6;
box-shadow: inset 0 -2px #66e6e6;
box-shadow: inset 0 -2px #ffffff;
}
#tray > .passive {