dotfiles

shared miscellaneous configuration files between my systems
git clone git://git.eonn.xyz/dotfiles.git
Log | Files | Refs

commit 45bf91457b0f9dc76fdc029191242fab2410679a
parent 1d6aac3f9153d6c64732d7c49926462e3aadbfca
Author: iressa <ian@eonn.xyz>
Date:   Sun, 27 Mar 2022 21:01:47 -0400

[polybar] add battery module

Diffstat:
M.config/polybar/config.ini | 21++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini @@ -143,10 +143,29 @@ interval = 1 date = %Y-%m-%d %H:%M:%S - label = %date% label-foreground = ${colors.primary} +[module/battery] +type = internal/battery +interval = 5 + +format-charging = <animation-charging> <label-charging> +format-discharging-prefix = "Discharging " +format-discharging-prefix-foreground = ${colors.primary} +format-charging-prefix = "Charging " +format-charging-prefix-foreground = ${colors.primary} + +label-discharging = %percentage%% +label-charging = %percentage%% +label-low = %percentage%%! + +animation-charging-0 = - +animation-charging-1 = \ +animation-charging-2 = | +animation-charging-3 = / +animation-charging-framerate = 1000 + [settings] screenchange-reload = true pseudo-transparency = true