Have polybar render out the exact percentage of the battery remaining
This commit is contained in:
parent
cd99422f49
commit
cbb3361de7
@ -97,11 +97,14 @@ full-at = 100
|
|||||||
time-format = %H:%M
|
time-format = %H:%M
|
||||||
interval = 15
|
interval = 15
|
||||||
|
|
||||||
format-charging = <ramp-capacity>
|
format-charging = <ramp-capacity> <label-charging>
|
||||||
format-charging-foreground = ${res/colors.green}
|
format-charging-foreground = ${res/colors.green}
|
||||||
format-discharging = <ramp-capacity>
|
format-discharging = <ramp-capacity> <label-discharging>
|
||||||
format-full = <ramp-capacity>
|
format-full = <ramp-capacity> <label-full>
|
||||||
format-full-foreground = ${res/colors.green}
|
format-full-foreground = ${res/colors.green}
|
||||||
|
label-charging = %percentage%%
|
||||||
|
label-discharging = %percentage%%
|
||||||
|
label-full = %percentage%%
|
||||||
ramp-capacity-0 =
|
ramp-capacity-0 =
|
||||||
ramp-capacity-0-foreground = ${res/colors.yellow}
|
ramp-capacity-0-foreground = ${res/colors.yellow}
|
||||||
ramp-capacity-1 =
|
ramp-capacity-1 =
|
||||||
|
Loading…
Reference in New Issue
Block a user