mirror of https://github.com/mitchell/dotfiles.git
Pulseaudio polybar fixed
This commit is contained in:
parent
6fb00c7db9
commit
a5093e666f
|
@ -238,6 +238,33 @@ format-underline = #98971a
|
||||||
|
|
||||||
label = %date% %time%
|
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]
|
[module/alsa]
|
||||||
type = internal/alsa
|
type = internal/alsa
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ XF86AudioPlay
|
||||||
playerctl play-pause
|
playerctl play-pause
|
||||||
|
|
||||||
XF86AudioPause
|
XF86AudioPause
|
||||||
playerctl pause
|
playerctl play-pause
|
||||||
|
|
||||||
XF86AudioNext
|
XF86AudioNext
|
||||||
playerctl next
|
playerctl next
|
||||||
|
|
Loading…
Reference in New Issue