Waybar icons fix

This commit is contained in:
voidarclabs
2025-10-22 13:59:30 +01:00
parent dc68e4535d
commit d937bd0826
3 changed files with 14 additions and 2 deletions

View File

@@ -57,6 +57,8 @@
},
"battery": {
"format": "{icon} {capacity}%",
"format-plugged": "󰂄 {capacity}%",
"format-charging": "󰂄 {capacity}%",
"states": {
"warning": 30,
"critical": 15

View File

@@ -100,14 +100,24 @@ window#waybar {
#battery {
background-color: #a6e3a1;
color: #1e1e2e;
transition: color 0.5s, background-color 0.5s, linear-gradient 0.4s;
}
#battery.warning {
color: #f9e2af;
}
color: #1e1e2e;
background: #F38BA8;
background: linear-gradient(135deg, rgba(243, 139, 168, 1) 0%, rgba(166, 218, 149, 1) 65%, rgba(166, 218, 149, 1) 100%);}
#battery.charging {
background-color: #40a02b;
background: #CBA6F7;
background: linear-gradient(135deg, rgba(203, 166, 247, 1) 0%, rgba(166, 218, 149, 1) 65%, rgba(166, 218, 149, 1) 100%);
}
#battery.plugged {
background-color: #40a02b;
background: #CBA6F7;
background: linear-gradient(135deg, rgba(203, 166, 247, 1) 0%, rgba(166, 218, 149, 1) 65%, rgba(166, 218, 149, 1) 100%);
}
#battery.critical {