From e9e8edfad30a957d37b1e83acc0e1018021038ec Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 14 Nov 2021 11:15:26 -0500 Subject: [PATCH] polybar: Improve battery functionality Now the battery module is more pleasant to look at. --- polybar/.config/polybar/config | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index ca395695..63b96527 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -83,9 +83,24 @@ type = internal/battery battery = BAT0 adapter = AC full-at = 98 -label-full = %percentage%% +time-format = %H:%M +format-charging = +format-discharging = +format-full = label-charging = %percentage%% -label-discharigng = %percentage% +label-discharging = %percentage%% +label-full = %percentage%% +ramp-capacity-0 =  +ramp-capacity-1 =  +ramp-capacity-2 =  +ramp-capacity-3 =  +ramp-capacity-4 =  +animation-charging-0 =  +animation-charging-1 =  +animation-charging-2 =  +animation-charging-3 =  +animation-charging-4 =  +animation-charging-framerate = 1000 [module/mpd] type = internal/mpd