mirror of
https://github.com/danielepintore/dotfiles.git
synced 2026-06-15 20:25:13 +02:00
feat(waybar): increase critical battery warning percentage, reduced
animation speed and increased visibility
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
"states": {
|
||||
// "good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
"critical": 20
|
||||
},
|
||||
"format": "{capacity}% {icon} ",
|
||||
"format-charging": "{capacity}% ",
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user