polybar: make low battery symbol blink

This commit is contained in:
Vincent Bernat 2021-07-14 13:55:31 +02:00
parent 308d419468
commit 3d3f3bba71

View file

@ -1,8 +1,10 @@
[colors] [colors]
# Format: [aa]rrggbb
background = #c0000000 background = #c0000000
foreground = #eaeaea foreground = #eaeaea
highlight = #4c7899 highlight = #4c7899
warning = #ff3121 warning = #ff3121
transparent = #00000000
[settings] [settings]
screenchange-reload = false screenchange-reload = false
@ -121,10 +123,11 @@ label-discharging = %percentage: 2%%
format-full = <label-full> format-full = <label-full>
label-full =  label-full = 
format-low = <animation-low> <label-low> format-low = <animation-low> <label-low>
format-low-foreground = ${colors.warning} label-low = %percentage: 2%%
label-low = %percentage%% (%time%) label-low-foreground = ${colors.warning}
animation-low-foreground = ${colors.warning}
full-at = 99 full-at = 99
low-at = 5 low-at = 7
ramp-capacity-0 =  ramp-capacity-0 = 
ramp-capacity-1 =  ramp-capacity-1 = 
ramp-capacity-2 =  ramp-capacity-2 = 
@ -135,10 +138,12 @@ ramp-capacity-6 = 
ramp-capacity-7 =  ramp-capacity-7 = 
ramp-capacity-8 =  ramp-capacity-8 = 
ramp-capacity-9 =  ramp-capacity-9 = 
animation-low-font = 2
animation-low-0 =  animation-low-0 = 
animation-low-1 =  animation-low-1 = 
animation-low-framerate = 1000 animation-low-2 = 
animation-low-3 = 
animation-low-3-foreground = ${colors.transparent}
animation-low-framerate = 500
[module/pulseaudio] [module/pulseaudio]
type = internal/pulseaudio type = internal/pulseaudio