polybar: alsa --
This commit is contained in:
parent
0808e5776b
commit
713418d7e1
3 changed files with 19 additions and 25 deletions
|
@ -1,23 +0,0 @@
|
|||
[module/alsa]
|
||||
type = internal/alsa
|
||||
format-volume = <bar-volume>
|
||||
label-volume-foreground = ${root.foreground}
|
||||
format-muted-prefix = " "
|
||||
format-muted-foreground = ${colors.foreground-alt}
|
||||
label-muted = sound muted
|
||||
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}
|
17
polybar/conf.d/mod_pulseaudio
Normal file
17
polybar/conf.d/mod_pulseaudio
Normal file
|
@ -0,0 +1,17 @@
|
|||
[module/pulseaudio]
|
||||
type = internal/pulseaudio
|
||||
|
||||
; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false
|
||||
use-ui-max = true
|
||||
|
||||
format-volume = <label-volume>
|
||||
format-volume-prefix = "VOL "
|
||||
format-volume-prefix-foreground =${colors.foreground-alt}
|
||||
|
||||
|
||||
label-muted = muted
|
||||
|
||||
format-muted-prefix = "VOL "
|
||||
format-muted-prefix-foreground =${colors.foreground-alt}
|
||||
|
||||
click-right = pavucontrol
|
|
@ -23,7 +23,7 @@ margin-bottom = 5
|
|||
inherit = bar/defaults
|
||||
modules-left = i3
|
||||
modules-center =
|
||||
modules-right = alsa backlight cpu system-cpu-loadavg memory df battery time
|
||||
modules-right = backlight cpu system-cpu-loadavg memory df battery time
|
||||
tray-position = right
|
||||
tray-padding = 2
|
||||
|
||||
|
@ -32,4 +32,4 @@ inherit = bar/defaults
|
|||
bottom = true
|
||||
modules-left =
|
||||
modules-center = polywins
|
||||
modules-right =
|
||||
modules-right = pulseaudio
|
||||
|
|
Loading…
Reference in a new issue