From cbb3361de7fb85335c1a9825fe008ed484dc16b6 Mon Sep 17 00:00:00 2001 From: Salt Date: Mon, 29 Mar 2021 15:16:08 -0500 Subject: [PATCH] Have polybar render out the exact percentage of the battery remaining --- desktop-gruvbox/.config/polybar/config | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/desktop-gruvbox/.config/polybar/config b/desktop-gruvbox/.config/polybar/config index 1843f25a..a54ef55c 100644 --- a/desktop-gruvbox/.config/polybar/config +++ b/desktop-gruvbox/.config/polybar/config @@ -97,11 +97,14 @@ full-at = 100 time-format = %H:%M interval = 15 -format-charging = +format-charging = format-charging-foreground = ${res/colors.green} -format-discharging = -format-full = +format-discharging = +format-full = format-full-foreground = ${res/colors.green} +label-charging = %percentage%% +label-discharging = %percentage%% +label-full = %percentage%% ramp-capacity-0 =  ramp-capacity-0-foreground = ${res/colors.yellow} ramp-capacity-1 = 