Waybar: Correct plugged state

This commit is contained in:
Johannes Rothe 2024-03-17 22:10:06 +01:00
parent 79591c1362
commit a9ae6ff872
2 changed files with 14 additions and 9 deletions

View File

@ -238,19 +238,20 @@
format = "{:%a, %d.%m.%Y CW%V %H:%M}"; format = "{:%a, %d.%m.%Y CW%V %H:%M}";
}; };
"cpu" = { "cpu" = {
"interval" = 30; interval = 30;
"format" = "󰗉 {load}"; format = "󰗉 {load}";
}; };
"memory" = { "memory" = {
"interval" = 30; interval = 30;
"format" = " {percentage}%"; format = " {percentage}%";
}; };
"battery" = { "battery" = {
"interval" = 10; interval = 10;
"format" = "󰁹 {capacity}% ({time})"; format = "󰁹 {capacity}% ({time})";
"format-charging" = " {capacity}%"; format-charging = " {capacity}%";
"format-full" = " {capacity}%"; format-plugged = " {capacity}%";
"states" = { format-full = " {capacity}%";
states = {
"warning" = 30; "warning" = 30;
"critical" = 15; "critical" = 15;
}; };

View File

@ -66,6 +66,10 @@ window {
color: #9dd274; color: #9dd274;
} }
#battery.plugged {
color: #9dd274;
}
#battery.full { #battery.full {
color: #9dd274; color: #9dd274;
} }