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 09:29:19 +02:00
|
|
|
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 =
|
2020-09-14 10:04:30 +02:00
|
|
|
ramp-capacity-0-foreground = ${colors.orange}
|
2020-08-23 20:20:36 +02:00
|
|
|
ramp-capacity-1 =
|
2020-09-14 10:04:30 +02:00
|
|
|
ramp-capacity-1-foreground = ${colors.orange}
|
2020-08-23 20:20:36 +02:00
|
|
|
ramp-capacity-2 =
|
2020-09-14 10:04:30 +02:00
|
|
|
ramp-capacity-2-foreground = ${colors.orange}
|
2020-08-23 20:20:36 +02:00
|
|
|
ramp-capacity-3 =
|
2020-09-14 10:04:30 +02:00
|
|
|
ramp-capacity-3-foreground = ${colors.orange}
|
2020-08-23 20:20:36 +02:00
|
|
|
ramp-capacity-4 =
|
2020-09-14 10:04:30 +02:00
|
|
|
ramp-capacity-4-foreground = ${colors.orange}
|
2020-08-23 20:20:36 +02:00
|
|
|
;ramp-capacity-foreground = #c7ae25
|
|
|
|
|
|
|
|
animation-charging-0 =
|
|
|
|
animation-charging-1 =
|
|
|
|
animation-charging-2 =
|
|
|
|
animation-charging-3 =
|
|
|
|
animation-charging-4 =
|
2020-09-14 10:04:30 +02:00
|
|
|
animation-charging-foreground = ${colors.orange}
|
2020-09-14 07:53:56 +02:00
|
|
|
animation-charging-framerate = 750
|