summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <56338480+adastx@users.noreply.github.com>2022-10-06 22:48:45 +0200
committeradam <56338480+adastx@users.noreply.github.com>2022-10-06 22:48:45 +0200
commit3e5914fc3b56b1e2a97767e1eee5c656ede0e8ef (patch)
tree4647968fa76cb5c73079bf5d7a3b55e7ee1a992d
parent44d511549718d6e4ec7d22975240b2ab87e1601a (diff)
polybar: battery-bolt icon for charging
-rw-r--r--.config/polybar/config.ini19
1 files changed, 6 insertions, 13 deletions
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini
index cd105a4..a73556f 100644
--- a/.config/polybar/config.ini
+++ b/.config/polybar/config.ini
@@ -35,8 +35,9 @@ padding-right = 2
font-0 = Averia Libre:style=bold:size=15;4
font-1 = WeatherIcons:size=14;6
font-2 = Font Awesome 5 Free Solid:size=14;4
-font-3 = Font Awesome 5 Free Regular:size=14;4
-font-4 = MaterialIcons:size=16;7
+font-3 = Font Awesome 5 Pro Solid:size=14;4
+font-4 = Font Awesome 5 Free Regular:size=14;4
+font-5 = MaterialIcons:size=16;7
modules-left = i3 xwindow
modules-center =
@@ -107,7 +108,7 @@ battery = BAT0
adapter = ADP1
poll-interval = 5
-format-charging = <animation-charging> <label-charging>
+format-charging = <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
format-full = <ramp-capacity> <label-full>
@@ -115,11 +116,11 @@ format-charging-foreground = ${colors.red}
format-discharging-foreground = ${colors.red}
format-full-foreground = ${colors.red}
-label-charging = %percentage%
+label-charging = " %percentage%"
label-discharging = %percentage%
label-full = %percentage%
-label-charging-padding-right = 2
+label-charging-padding = 2
label-discharging-padding-right = 2
label-full-padding-right = 2
@@ -130,14 +131,6 @@ ramp-capacity-2 = " "
ramp-capacity-3 = " "
ramp-capacity-4 = " "
-animation-charging-padding-left = 2
-animation-charging-0 = " "
-animation-charging-1 = " "
-animation-charging-2 = " "
-animation-charging-3 = " "
-animation-charging-4 = " "
-animation-charging-framerate = 750
-
[module/date]
type = internal/date
interval = 5