diff options
author | adamstuck <adam.moloney.stuck@gmail.com> | 2022-02-20 12:01:28 +0100 |
---|---|---|
committer | adamstuck <adam.moloney.stuck@gmail.com> | 2022-02-20 12:01:28 +0100 |
commit | effa05471b4ceb1b2b3cd8268cb32e8a73662dfa (patch) | |
tree | fa7f1a20693853a94b0f8dd8078cc4d7c5fb43cc /.config/polybar | |
parent | 4e486522c0129cc69ce159773f6e6ff21d285d3f (diff) |
polybar: battery module fix
Diffstat (limited to '.config/polybar')
-rw-r--r-- | .config/polybar/config | 38 |
1 files changed, 8 insertions, 30 deletions
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: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> format-charging = <animation-charging> <label-charging> - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> format-discharging = <ramp-capacity> <label-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 = <ramp-capacity> <label-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 <ramp-capacity> is used ramp-capacity-0 = " " ramp-capacity-1 = " " ramp-capacity-2 = " " |