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}";
};
"cpu" = {
"interval" = 30;
"format" = "󰗉 {load}";
interval = 30;
format = "󰗉 {load}";
};
"memory" = {
"interval" = 30;
"format" = " {percentage}%";
interval = 30;
format = " {percentage}%";
};
"battery" = {
"interval" = 10;
"format" = "󰁹 {capacity}% ({time})";
"format-charging" = " {capacity}%";
"format-full" = " {capacity}%";
"states" = {
interval = 10;
format = "󰁹 {capacity}% ({time})";
format-charging = " {capacity}%";
format-plugged = " {capacity}%";
format-full = " {capacity}%";
states = {
"warning" = 30;
"critical" = 15;
};

View File

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