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:
parent
563b26d336
commit
097b8880f8
1 changed files with 15 additions and 0 deletions
|
@ -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};
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue