feat(wm): make waybar battery widget more useful :3

This commit is contained in:
EinEtwas 2024-11-20 10:39:43 +01:00
parent 9d924956da
commit e7c4ff50c5
Signed by: etwas
SSH key fingerprint: SHA256:bHhIeAdn/2k9jmOs6+u6ox98VYmoHUN3HfnpV2w8Ws0

View file

@ -86,14 +86,49 @@
}; };
battery = { battery = {
format = "{capacity}% {icon}"; "bat" = "BAT1";
"format-icons" = [
"" "full-at" = 80;
""
"" "interval" = 1;
""
"" "states" = {
"warning" = 30;
"critical" = 15;
};
"format" = "{capacity}% {icon}";
"format-icons" = {
"discharging" = [
"󰁺"
"󰁻"
"󰁼"
"󰁽"
"󰁾"
"󰁿"
"󰂀"
"󰂁"
"󰂁"
"󰂂"
"󰁹"
]; ];
"charging" = [
"󰢜"
"󰂆"
"󰂇"
"󰂈"
"󰢝"
"󰂉"
"󰢞"
"󰂊"
"󰂋"
"󰂅"
];
};
"tooltip-format-charging" = "󱑂 {time}\n󱐋 +{power} W\n {health}";
"tooltip-format-discharging" = "󱑂 {time}\n󱐋 -{power} W\n {health}";
}; };
clock = { clock = {