wm-logs/home/config/polybar/modules/volume.ini

62 lines
1.5 KiB
INI

[module/volume]
type = internal/pulseaudio
; Sink to be used, if it exists (find using `pacmd list-sinks`, name field)
; If not, uses default sink
sink =
; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false
; Default: true
use-ui-max = false
; 音量显示格式
format-volume = <ramp-volume> <bar-volume>
format-volume-background = ${color.background}
format-volume-padding = 1
; 静音图标
format-muted = <label-muted>
format-muted-prefix =
format-muted-prefix-font = 2
format-muted-prefix-foreground = ${color.altforeground}
format-muted-background = ${color.background}
format-muted-padding = 1
; 静音的文字提示
label-muted = " "
label-muted-foreground = ${color.altforeground}
; 音量条
bar-volume-width = 5
bar-volume-gradient = false
bar-volume-indicator =
bar-volume-indicator-font = 2
bar-volume-indicator-foreground = ${color.blue}
bar-volume-fill =
bar-volume-fill-font = 3
bar-volume-foreground-0 = ${color.blue}
bar-volume-foreground-1 = ${color.blue}
bar-volume-foreground-2 = ${color.blue}
bar-volume-foreground-3 = ${color.blue}
bar-volume-foreground-4 = ${color.blue}
bar-volume-empty =
bar-volume-empty-font = 3
bar-volume-empty-foreground = ${color.altbackground}
; 根据音量变换图标
ramp-volume-0 =
ramp-volume-1 =
ramp-volume-2 =
ramp-volume-3 = 奔
ramp-volume-4 = 奔
ramp-volume-5 = 奔
ramp-volume-6 =
ramp-volume-7 =
ramp-volume-8 =
ramp-volume-9 =
ramp-volume-font = 2
ramp-volume-foreground = ${color.blue}
~~i3历险记~~, i3从入门到放弃, 转战bspwm
Shell 100%