We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Your polybar battery module:
[module/battery] ; Settings. inherit=module-base type=internal/battery full-at=100 battery=${system.battery} adapter=${system.adapter} poll-interval=30 time-format=%H:%M ; Charging. format-charging=<animation-charging><bar-capacity> label-charging-background=${colors.background} label-charging-foreground=${colors.foreground} ; Charging animation! animation-charging-0=" " animation-charging-1=" " animation-charging-2=" " animation-charging-3=" " animation-charging-4=" " animation-charging-foreground=${colors.yellow} animation-charging-background=${colors.background} animation-charging-framerate=750 ; Full. label-full=" " format-full=<label-full><bar-capacity> label-full-background=${colors.background} label-full-foreground=${colors.green} ; Discharging. label-discharging=" " format-discharging=<ramp-capacity><bar-capacity> label-discharging-background=${colors.background} label-discharging-foreground=${colors.yellow} ; Bar. bar-capacity-format = %fill%%empty% bar-capacity-width = 10 bar-capacity-gradient = true bar-capacity-indicator = "—" bar-capacity-fill = "━" bar-capacity-empty = "━" bar-capacity-empty-background= ${colors.background} bar-capacity-indicator-background= ${colors.background} bar-capacity-fill-background= ${colors.background} bar-capacity-empty-foreground = ${colors.gray2} bar-capacity-fill-foreground = ${colors.green} format-bar-capacity-background = ${colors.background} ; Must use the non antialiased font here. bar-capacity-fill-font = 3 bar-capacity-empty-font = 3 ; ; Have these here so that the bottom 40% can have changed colors. ramp-capacity-0 = " " ramp-capacity-1 = " " ramp-capacity-2 = " " ramp-capacity-3 = " " ramp-capacity-4 = " " ramp-capacity-5 = " " ramp-capacity-6 = " " ramp-capacity-7 = " " ramp-capacity-8 = " " ramp-capacity-9 = " " ramp-capacity-foreground=${colors.yellow} ramp-capacity-background=${colors.background} ramp-capacity-0-foreground = ${colors.red} ramp-capacity-1-foreground = ${colors.red} ramp-capacity-2-foreground = ${colors.orange} ramp-capacity-3-foreground = ${colors.orange}
Gives this error: error: Disabling module "battery" (reason: Missing parameter "module/battery.ramp-capacity-0")
error: Disabling module "battery" (reason: Missing parameter "module/battery.ramp-capacity-0")
I think you might have meant <label-discharging> instead of <ramp-capacity> there.
<label-discharging>
<ramp-capacity>
PS: couldnt make a pull request so I made an issue instead
The text was updated successfully, but these errors were encountered:
AlexvZyl
No branches or pull requests
Your polybar battery module:
Gives this error:
error: Disabling module "battery" (reason: Missing parameter "module/battery.ramp-capacity-0")
I think you might have meant
<label-discharging>
instead of<ramp-capacity>
there.PS: couldnt make a pull request so I made an issue instead
The text was updated successfully, but these errors were encountered: