2020-08-23 20:20:36 +02:00
|
|
|
[module/battery]
|
|
|
|
;https://github.com/jaagr/polybar/wiki/Module:-battery
|
|
|
|
type = internal/battery
|
|
|
|
battery = BAT0
|
|
|
|
adapter = AC0
|
2020-09-14 07:53:56 +02:00
|
|
|
full-at = 84
|
|
|
|
;full-at = 100
|
2020-08-23 20:20:36 +02:00
|
|
|
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
|
2020-08-23 20:23:32 +02:00
|
|
|
format-discharging-underline = ${colors.orange}
|
2020-08-23 20:20:36 +02:00
|
|
|
format-discharging-foreground = ${colors.foreground}
|
|
|
|
format-discharging-background = ${colors.background}
|
|
|
|
|
|
|
|
format-full-prefix = " "
|
|
|
|
format-full-prefix-foreground = #a3c725
|
2020-08-23 20:23:32 +02:00
|
|
|
format-full-underline = ${colors.orange}
|
2020-08-23 20:20:36 +02:00
|
|
|
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
|
2020-09-14 07:53:56 +02:00
|
|
|
animation-charging-framerate = 750
|