[polybar] Make volume and battery more compact

This commit is contained in:
M1dgard 2018-08-20 03:08:09 +02:00
parent cb9bc04f25
commit f90a236516
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -344,28 +344,15 @@ exec = ~/.config/polybar/clock.py
[module/volume]
type = internal/pulseaudio
format-volume = <label-volume> <bar-volume>
label-volume =
label-volume-foreground = ${root.foreground}
format-muted =
format-muted-foreground = ${colors.foreground-alt}
label-muted =
format-volume = <ramp-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}<ramp-capacity>%{O2}<label-discharging>
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}