waybar: add battery capacity when charging

This commit is contained in:
Evie Litherland-Smith 2023-12-22 07:19:04 +00:00
parent 6ba65c14a7
commit 9c21d0e264

View file

@ -145,7 +145,7 @@
critical = 15; critical = 15;
}; };
format = "{icon} {capacity}%"; format = "{icon} {capacity}%";
format-charging = "󰂄"; format-charging = "󰂄 {capacity}%";
format-plugged = "󰚥"; format-plugged = "󰚥";
tooltip-format = "{time}"; tooltip-format = "{time}";
format-icons = [ "󱃍" "󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹" ]; format-icons = [ "󱃍" "󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹" ];