tarch-configs/configs/bspwm/polybar/modules/media

47 lines
1.2 KiB
Plaintext
Raw Normal View History

2024-03-10 13:30:59 +03:00
[module/volume]
type = internal/pulseaudio
sink = alsa_output.pci-0000_12_00.3.analog-stereo
use-ui-max = false
interval = 5
format-volume = <ramp-volume><label-volume>
format-muted = <label-muted>
format-muted-prefix = 婢
format-muted-prefix-font = 2
format-muted-prefix-foreground = ${color.RED}
format-muted-prefix-background = #353B45
label-volume = %percentage%%
label-volume-foreground = ${color.BLUE}
label-volume-background = #353B45
label-muted = " Mute"
label-muted-foreground = ${color.RED}
label-muted-background = #353B45
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}
ramp-volume-background = #353B45
ramp-headphones-0 = 
ramp-headphones-1 = 
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/pulse-mic]
type = custom/script
exec = ~/.config/bspwm/polybar/scripts/pulse-mic
tail = true
click-left = ~/.config/bspwm/polybar/scripts/pulse-mic --toggle &
scroll-up = ~/.config/bspwm/polybar/scripts/pulse-mic --increase &
scroll-down = ~/.config/bspwm/polybar/scripts/pulse-mic --decrease &