From 4be34b0c91e09655e319951a98ff61d968a84d58 Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Thu, 2 Jan 2020 03:44:41 -0500 Subject: [PATCH] Made battery have visuals to easily decipher at a glance --- .config/polybar/config | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index 9c9ce212..0b4f0077 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -66,15 +66,21 @@ battery = BAT0 adapter = ADP1 full-at = 98 -format-charging = +; orange denotes charging +format-charging =%{u#ffa500}%{+u} label-charging = Batt: %percentage%% -format-discharging = +format-discharging = label-discharging = Batt: %percentage%% +; changes color for which third battery is in +; red=0-33, yellow=34-66, green=67-100 +ramp-capacity-0 = %{u#ff0000} +ramp-capacity-1 = %{u#ffea00} +ramp-capacity-2 = %{u#20c723} + [module/cpu] type = internal/cpu -; Seconds to sleep between updates interval = 0.5 format =