add config with battery

This commit is contained in:
2025-03-16 16:47:10 -07:00
parent c326a20a99
commit b19be6ff13
2 changed files with 309 additions and 0 deletions

View File

@@ -265,3 +265,26 @@ label:focus {
padding: 0 10px;
margin: 5px 1px;
}
#battery.critical:not(.charging) {
background-color: @red;
color: @base;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
#battery {
background-color: @rosewater;
color: @base;
padding: 0 10px;
margin: 5px 1px;
}
#battery.charging,
#battery.plugged {
color: @base;
background-color: @green;
}