Notify of low battery in Waybar

This commit is contained in:
2022-04-16 01:35:45 +02:00
parent 13ba2c19ea
commit 636f95874b
2 changed files with 13 additions and 5 deletions

View File

@@ -89,10 +89,18 @@ window#waybar.chromium {
@keyframes blink {
to {
background-color: #f53c3c;
color: #000000;
}
}
#battery.critical:not(.charging) {
#battery.bat2.critical:not(.charging) {
color: #ffffff;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: 10;
animation-direction: alternate;
}
label:focus {