mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-05-06 16:59:50 +00:00
[polybar] Change alsa plugin to pulseaudio
This commit is contained in:
parent
075e835025
commit
070a7fceb4
@ -62,7 +62,7 @@ font-6 = "Font Awesome 6 Brands-Regular-400:size=32:antialias=true;1"
|
||||
|
||||
modules-left = polywins
|
||||
modules-center = custom_date
|
||||
modules-right = updates cpu_bar memory_bar docker vpn network_status network_usage syncthing_status alsa_bar tray
|
||||
modules-right = updates cpu_bar memory_bar docker vpn network_status network_usage syncthing_status pulseaudio tray
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
@ -116,16 +116,13 @@ exec = ~/.config/polybar/scripts/custom_date
|
||||
interval = 1
|
||||
click-left = gnome-calendar
|
||||
|
||||
[module/alsa_bar]
|
||||
type = internal/alsa
|
||||
|
||||
[module/pulseaudio]
|
||||
type = internal/pulseaudio
|
||||
format-volume = <label-volume> <bar-volume>
|
||||
label-volume = "%{A3:$TERMINAL_CMD pulsemixer &:}%{T4}%{T-}%{A}"
|
||||
label-volume-foreground = ${root.foreground}
|
||||
|
||||
format-muted-prefix = ""
|
||||
format-muted-foreground = ${colors.foreground-alt}
|
||||
label-muted = sound muted
|
||||
label-volume = "%{A3:$TERMINAL_CMD pulsemixer &:}%{T4} %{T-}%{A}"
|
||||
label-muted = " muted"
|
||||
label-muted-foreground = ${colors.foreground-alt}
|
||||
|
||||
bar-volume-width = 10
|
||||
bar-volume-foreground-0 = ${colors.bn}
|
||||
@ -137,15 +134,12 @@ bar-volume-foreground-5 = ${colors.bn}
|
||||
bar-volume-foreground-6 = ${colors.bm}
|
||||
bar-volume-foreground-7 = ${colors.bm}
|
||||
|
||||
|
||||
bar-volume-gradient = false
|
||||
bar-volume-indicator =
|
||||
bar-volume-fill = "%{A3:$TERMINAL_CMD pulsemixer &:}%{T5}_%{T-}%{A}"
|
||||
bar-volume-empty = "%{A3:$TERMINAL_CMD pulsemixer &:}%{T5}_%{T-}%{A}"
|
||||
bar-volume-gradient = true
|
||||
bar-volume-indicator = ""
|
||||
bar-volume-fill = "%{A3:$TERMINAL_CMD pulsemixer &:}%{T5}─%{T-}%{A}"
|
||||
bar-volume-empty = "%{A3:$TERMINAL_CMD pulsemixer &:}%{T5}─%{T-}%{A}"
|
||||
bar-volume-empty-foreground = ${colors.foreground-alt}
|
||||
|
||||
click-right = $TERMINAL_CMD pulsemixer
|
||||
|
||||
[module/updates]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/scripts/check_updates
|
||||
|
Loading…
x
Reference in New Issue
Block a user