POLYBAR: remplacement module volume par pulseaudio

vif
Olivier DOSSMANN 2020-05-18 16:00:49 +02:00
parent 475146872e
commit 64b4852222
1 changed files with 12 additions and 6 deletions

View File

@ -49,7 +49,7 @@ font-2 = siji:pixelsize=10;1
modules-left = i3
modules-center = xwindow
modules-right = xbacklight volume memory cpu wlan eth battery temperature date powermenu
modules-right = xbacklight pulseaudio memory cpu wlan eth battery temperature date powermenu
tray-position = right
tray-padding = 2
@ -270,16 +270,19 @@ format-underline = #0a6cf5
label = %date% %time%
[module/volume]
type = internal/volume
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <ramp-volume> <label-volume>
label-volume = %percentage%%
;label-volume = %percentage%%
label-volume-foreground = ${root.foreground}
; couleur du trait sous le son
format-volume-underline = #f4a70a
format-muted-prefix = " "
;format-muted-prefix = " "
format-muted-foreground = ${colors.foreground-alt}
label-muted = %percentage%% 
label-muted =  %percentage%%
label-muted-foreground = #666
bar-volume-width = 10
bar-volume-foreground-0 = #55aa55
@ -303,6 +306,9 @@ ramp-volume-1 = 
ramp-volume-2 = 
ramp-volume-3 = 
click-right = pavucontrol &
;click-middle =
[module/battery]
type = internal/battery
battery = BAT0