diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 6e9e959..ecda99d 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -55,6 +55,26 @@ window#waybar.solo { color: rgba(36, 238, 46, 1); } +#battery.warning:not(.charging) { + color: rgba(255, 210, 4, 1); +} + +@keyframes blink { + to { + color: #000000; + } +} + +#battery.critical:not(.charging) { + color: rgba(238, 46, 36, 1); + animation-name: blink; + animation-duration: 0.5s; + animation-timing-function: linear; + animation-iteration-count: infinite; + animation-direction: alternate; +} + +/* #battery.warning { color: rgba(255, 210, 4, 1); } @@ -63,7 +83,6 @@ window#waybar.solo { color: rgba(238, 46, 36, 1); } -/* #battery.charging { color: rgba(217, 216, 216, 1); }