forked from logan/dotfiles
Battery indicator now blinks angrily at you when battery is very low
This commit is contained in:
parent
5a22ba4902
commit
178e4c0bb0
1 changed files with 20 additions and 1 deletions
|
@ -55,6 +55,26 @@ window#waybar.solo {
|
||||||
color: rgba(36, 238, 46, 1);
|
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 {
|
#battery.warning {
|
||||||
color: rgba(255, 210, 4, 1);
|
color: rgba(255, 210, 4, 1);
|
||||||
}
|
}
|
||||||
|
@ -63,7 +83,6 @@ window#waybar.solo {
|
||||||
color: rgba(238, 46, 36, 1);
|
color: rgba(238, 46, 36, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
#battery.charging {
|
#battery.charging {
|
||||||
color: rgba(217, 216, 216, 1);
|
color: rgba(217, 216, 216, 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue