From effa05471b4ceb1b2b3cd8268cb32e8a73662dfa Mon Sep 17 00:00:00 2001 From: adamstuck Date: Sun, 20 Feb 2022 12:01:28 +0100 Subject: polybar: battery module fix --- .config/polybar/config | 38 ++++++++------------------------------ 1 file changed, 8 insertions(+), 30 deletions(-) (limited to '.config/polybar/config') diff --git a/.config/polybar/config b/.config/polybar/config index a41fa10..6bed730 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -117,43 +117,21 @@ battery = BAT0 adapter = ADP1 poll-interval = 5 -; Available tags: -; (default) -; -; -; format-charging = - -; Available tags: -; (default) -; -; -; format-discharging = -format-discharging-background = ${colors.background-module} - -; Available tokens: -; %percentage% (default) - is set to 100 if full-at is reached -; %percentage_raw% -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage% -label-charging-background = ${colors.background-module} - format-full = -format-full-background = ${colors.background-module} -label-full = %percentage% -label-full-background = ${colors.background-module} -; Available tokens: -; %percentage% (default) - is set to 100 if full-at is reached -; %percentage_raw% -; %time% -; %consumption% (shows current discharge rate in watts) +label-charging = "%percentage% " label-discharging = "%percentage% " +label-full = "%percentage% " + +format-charging-background = ${colors.background-module} +format-discharging-background = ${colors.background-module} +format-full-background = ${colors.background-module} +label-charging-background = ${colors.background-module} label-discharging-background = ${colors.background-module} +label-full-background = ${colors.background-module} -; Only applies if is used ramp-capacity-0 = "  " ramp-capacity-1 = "  " ramp-capacity-2 = "  " -- cgit v1.2.3-70-g09d2