rice/polybar-modules/battery.ini

57 lines
1.6 KiB
INI
Raw Permalink Normal View History

2021-07-28 23:44:53 -07:00
[module/battery]
type = internal/battery
full-at = 99
time-format = %H:%M
battery = BAT0
adapter = AC0
format-charging = <animation-charging> <label-charging>
2021-11-10 21:45:10 -08:00
format-charging-foreground = #98be65
2021-07-28 23:44:53 -07:00
format-charging-padding = 1
2021-11-10 21:45:10 -08:00
label-charging = %{F#98be65}%percentage%%%{F-}
# label-charging-foreground = #a8d385
label-charging-foreground = #98be65
2021-07-28 23:44:53 -07:00
format-discharging = <ramp-capacity> <label-discharging>
2021-11-10 21:45:10 -08:00
# format-discharging-foreground = #F9825A
format-discharging-foreground = #ff6c6b
2021-07-28 23:44:53 -07:00
format-discharging-padding = 1
label-discharging =%{F#F9825A}%percentage%%%{F-}
format-full = <label-full>
format-full-foreground = #a8d385
format-full-prefix = ""
format-full-prefix-foreground = #a8d385
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-0-foreground = ${color.red}
ramp-capacity-1-foreground = ${color.red}
ramp-capacity-2-foreground = ${color.red}
ramp-capacity-3-foreground = ${color.yellow}
ramp-capacity-4-foreground = ${color.yellow}
ramp-capacity-5-foreground = ${color.yellow}
ramp-capacity-6-foreground = #a8d385
ramp-capacity-7-foreground = #a8d385
ramp-capacity-8-foreground = #a8d385
ramp-capacity-9-foreground = #a8d385
#ramp-capacity-foreground = ${color.fg}
# ramp-capacity-foreground = #a8d385
bar-capacity-width = 2
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-3 =
animation-charging-4 =
animation-charging-5 =
animation-charging-6 =
animation-charging-framerate = 750