44 lines
1.3 KiB
INI
44 lines
1.3 KiB
INI
|
[module/battery]
|
||
|
;https://github.com/jaagr/polybar/wiki/Module:-battery
|
||
|
type = internal/battery
|
||
|
battery = BAT0
|
||
|
adapter = AC0
|
||
|
full-at = 100
|
||
|
time-format = %H:%M
|
||
|
|
||
|
format-charging = <animation-charging> <label-charging>
|
||
|
label-charging = %percentage%% %time% left
|
||
|
format-charging-foreground = ${colors.foreground}
|
||
|
format-charging-background = ${colors.background}
|
||
|
format-charging-underline = ${colors.orange}
|
||
|
|
||
|
format-discharging = <ramp-capacity> <label-discharging>
|
||
|
label-discharging = %percentage%% %time% left
|
||
|
format-discharging-foreground = ${colors.foreground}
|
||
|
format-discharging-background = ${colors.background}
|
||
|
|
||
|
format-full-prefix = " "
|
||
|
format-full-prefix-foreground = #a3c725
|
||
|
format-full-underline = #a3c725
|
||
|
format-foreground = ${colors.foreground}
|
||
|
format-background = ${colors.background}
|
||
|
|
||
|
ramp-capacity-0 =
|
||
|
ramp-capacity-0-foreground = #e22c0f
|
||
|
ramp-capacity-1 =
|
||
|
ramp-capacity-1-foreground = #e28b0f
|
||
|
ramp-capacity-2 =
|
||
|
ramp-capacity-2-foreground = #c6be25
|
||
|
ramp-capacity-3 =
|
||
|
ramp-capacity-3-foreground = #aec625
|
||
|
ramp-capacity-4 =
|
||
|
ramp-capacity-4-foreground = #7bc625
|
||
|
;ramp-capacity-foreground = #c7ae25
|
||
|
|
||
|
animation-charging-0 =
|
||
|
animation-charging-1 =
|
||
|
animation-charging-2 =
|
||
|
animation-charging-3 =
|
||
|
animation-charging-4 =
|
||
|
animation-charging-foreground = #a3c725
|
||
|
animation-charging-framerate = 750
|