eww: Flash battery gauge when low

This commit is contained in:
2024-11-18 20:46:21 +01:00
parent 67b7083617
commit 9001a8f4bd

View File

@ -142,12 +142,23 @@ scale trough {
.battery-gauge.low { .battery-gauge.low {
color: red; color: red;
animation: 1s ease-in 1s infinite alternate battery-gauge-low;
} }
.battery-gauge.charging { .battery-gauge.charging {
color: purple; color: purple;
} }
@keyframes battery-gauge-low {
from {
background-color: $background;
}
to {
background-color: red;
}
}
.calendar { .calendar {
background: $lowlight2; background: $lowlight2;
} }