1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-31 20:17:45 +00:00

Blink battery when low

This commit is contained in:
RGBCube 2023-12-15 21:15:03 +03:00
parent 563b26d336
commit 097b8880f8
No known key found for this signature in database

View file

@ -160,6 +160,21 @@ graphicalConfiguration {
#tray, #pulseaudio, #backlight, #cpu, #memory, #network, #battery, #clock { #tray, #pulseaudio, #backlight, #cpu, #memory, #network, #battery, #clock {
margin-left: 20px; margin-left: 20px;
} }
@keyframes blink {
to {
color: ${base05};
}
}
#battery.critical:not(.charging) {
animation-direction: alternate;
animation-duration: 0.5s;
animation-iteration-count: infinite;
animation-name: blink;
animation-timing-function: linear;
color: ${base08};
}
''; '';
}; };
} }