Pulseaudio polybar fixed

This commit is contained in:
mitchell 2022-02-20 12:09:30 -05:00
parent 6fb00c7db9
commit a5093e666f
2 changed files with 28 additions and 1 deletions

View File

@ -238,6 +238,33 @@ format-underline = #98971a
label = %date% %time%
[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 = ${colors.secondary}
bar-volume-foreground-1 = ${colors.secondary}
bar-volume-foreground-2 = ${colors.secondary}
bar-volume-foreground-3 = ${colors.secondary}
bar-volume-foreground-4 = ${colors.secondary}
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = ${colors.alert}
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/alsa]
type = internal/alsa

View File

@ -45,7 +45,7 @@ XF86AudioPlay
playerctl play-pause
XF86AudioPause
playerctl pause
playerctl play-pause
XF86AudioNext
playerctl next