feat(waybar): increase critical battery warning percentage, reduced

animation speed and increased visibility
This commit is contained in:
2025-07-23 01:38:00 +02:00
parent 10ce5b7e2d
commit 217dbb17f5
2 changed files with 3 additions and 4 deletions

View File

@@ -69,7 +69,7 @@
"states": {
// "good": 95,
"warning": 30,
"critical": 15
"critical": 20
},
"format": "{capacity}% {icon} ",
"format-charging": "{capacity}% ",

View File

@@ -140,8 +140,7 @@ button:hover {
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
background-color:alpha(#f53c3c, 0.6);
}
}
@@ -149,7 +148,7 @@ button:hover {
background-color: alpha(#f53c3c, 0.2);
color: #ffffff;
animation-name: blink;
animation-duration: 0.5s;
animation-duration: 2s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;