POLYBAR: remplacement module volume par pulseaudio
This commit is contained in:
parent
475146872e
commit
64b4852222
@ -49,7 +49,7 @@ font-2 = siji:pixelsize=10;1
|
|||||||
|
|
||||||
modules-left = i3
|
modules-left = i3
|
||||||
modules-center = xwindow
|
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-position = right
|
||||||
tray-padding = 2
|
tray-padding = 2
|
||||||
@ -270,16 +270,19 @@ format-underline = #0a6cf5
|
|||||||
|
|
||||||
label = %date% %time%
|
label = %date% %time%
|
||||||
|
|
||||||
[module/volume]
|
[module/pulseaudio]
|
||||||
type = internal/volume
|
type = internal/pulseaudio
|
||||||
|
|
||||||
format-volume = <ramp-volume> <label-volume>
|
format-volume = <ramp-volume> <label-volume>
|
||||||
label-volume = %percentage%%
|
;label-volume = %percentage%%
|
||||||
label-volume-foreground = ${root.foreground}
|
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}
|
format-muted-foreground = ${colors.foreground-alt}
|
||||||
label-muted = %percentage%%
|
label-muted = %percentage%%
|
||||||
|
label-muted-foreground = #666
|
||||||
|
|
||||||
bar-volume-width = 10
|
bar-volume-width = 10
|
||||||
bar-volume-foreground-0 = #55aa55
|
bar-volume-foreground-0 = #55aa55
|
||||||
@ -303,6 +306,9 @@ ramp-volume-1 =
|
|||||||
ramp-volume-2 =
|
ramp-volume-2 =
|
||||||
ramp-volume-3 =
|
ramp-volume-3 =
|
||||||
|
|
||||||
|
click-right = pavucontrol &
|
||||||
|
;click-middle =
|
||||||
|
|
||||||
[module/battery]
|
[module/battery]
|
||||||
type = internal/battery
|
type = internal/battery
|
||||||
battery = BAT0
|
battery = BAT0
|
||||||
|
Loading…
Reference in New Issue
Block a user