From f90a236516b684b48437ab580b5b067c0920230a Mon Sep 17 00:00:00 2001 From: M1dgard Date: Mon, 20 Aug 2018 03:08:09 +0200 Subject: [PATCH] [polybar] Make volume and battery more compact --- polybar/config.ini | 31 +++++++++---------------------- 1 file changed, 9 insertions(+), 22 deletions(-) diff --git a/polybar/config.ini b/polybar/config.ini index 9e0c534..27fe253 100644 --- a/polybar/config.ini +++ b/polybar/config.ini @@ -344,28 +344,15 @@ exec = ~/.config/polybar/clock.py [module/volume] type = internal/pulseaudio -format-volume = -label-volume =  -label-volume-foreground = ${root.foreground} +format-muted =  +format-muted-foreground = ${colors.foreground-alt} -label-muted =  +format-volume = +format-volume-foreground = ${colors.foreground} -bar-volume-width = 7 -bar-volume-foreground-0 = #55aa55 -bar-volume-foreground-1 = #55aa55 -bar-volume-foreground-2 = #55aa55 -bar-volume-foreground-3 = #55aa55 -bar-volume-foreground-4 = #55aa55 -bar-volume-foreground-5 = #f5a70a -bar-volume-foreground-6 = #ff5555 -bar-volume-gradient = false -bar-volume-indicator = | -bar-volume-indicator-font = 1 -bar-volume-fill = ─ -bar-volume-fill-font = 1 -bar-volume-empty = ─ -bar-volume-empty-font = 1 -bar-volume-empty-foreground = ${colors.foreground-alt} +ramp-volume-0 = %{O-3}%{O3} +ramp-volume-1 = %{O-1}%{O1} +ramp-volume-2 =  [module/battery] type = internal/battery @@ -380,8 +367,8 @@ label-charging = %percentage% format-discharging = %{F555}%{O-18}%{F}%{O2} label-discharging = %percentage% -format-full-prefix = "" -format-full-prefix-foreground = ${colors.foreground-alert} +format-full = "" +format-full-foreground = ${colors.foreground-alert} ; <5 ramp-capacity-0 = %{F#F55}