polybar: volume

This commit is contained in:
Michael Grote 2021-06-29 17:00:42 +02:00
parent 82f54daa13
commit c17834aa2b

View file

@ -191,9 +191,6 @@ bar-volume-fill-font = 2
bar-volume-empty = ─ bar-volume-empty = ─
bar-volume-empty-font = 2 bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt} bar-volume-empty-foreground = ${colors.foreground-alt}
format-prefix = "VOL "
format-prefix-foreground = ${colors.foreground-alt}
[module/battery] [module/battery]
type = internal/battery type = internal/battery
@ -219,30 +216,6 @@ animation-discharging-2 = 
animation-discharging-foreground = ${colors.foreground-alt} animation-discharging-foreground = ${colors.foreground-alt}
animation-discharging-framerate = 750 animation-discharging-framerate = 750
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <label-volume> <bar-volume>
label-volume = VOL %percentage%%
label-volume-foreground = ${root.foreground}
label-muted = 🔇 muted
label-muted-foreground = #666
bar-volume-width = 10
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 = 2
bar-volume-fill = ─
bar-volume-fill-font = 2
bar-volume-empty = ─
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt}
[module/powermenu] [module/powermenu]
type = custom/menu type = custom/menu
expand-right = true expand-right = true