Files
.dotfiles/.config/polybar/modules/battery.ini
Quinn 9ece4e28de move xdg directories to the default location.
a lot of applications seem to hardcode this location, so it's better to
have something default, or default-adjasoned.
2025-11-19 10:08:24 +01:00

35 lines
937 B
INI

[module/battery]
type = internal/battery
full-at = 100
low-at = 10
battery = BAT1
adapter = ACAD
time-format = %H:%M
poll-interval = 5
format-charging = <animation-charging> <label-charging>
label-charging = %percentage%%
animation-charging-0 = 󰢜
animation-charging-1 = 󰂇
animation-charging-2 = 󰢝
animation-charging-3 = 󰢞
animation-charging-4 = 󰂋
animation-charging-framerate = 1000
format-discharging = <ramp-capacity> <label-discharging>
label-discharging = %percentage%%
ramp-capacity-0 = 󰁺
ramp-capacity-1 = 󰁼
ramp-capacity-2 = 󰁾
ramp-capacity-3 = 󰂀
ramp-capacity-4 = 󰂂
format-full = <label-full>
label-full = 󰂄 %percentage%%
format-low = <animation-low> <label-low>
label-low = %percentage%%
animation-low-0 = 󰂃
animation-low-1 = 󰁺
animation-low-framerate = 500