Use globbing for audio icons
This commit is contained in:
parent
28ecddd3de
commit
d9fdb5faa3
|
@ -134,7 +134,7 @@ type = custom/script
|
||||||
label = "%output%"
|
label = "%output%"
|
||||||
tail = true
|
tail = true
|
||||||
interval = 0
|
interval = 0
|
||||||
exec = ~/.dotfiles/scripts/pulseaudio-control.bash --icon-muted " " --icons-volume " , , " --node-nicknames-from device.product.name --node-nickname "alsa_output.pci-0000_2d_00.1.hdmi-stereo-extra4.2: " --node-nickname "alsa_output.pci-0000_2f_00.4.analog-stereo.2: " --node-type output output
|
exec = ~/.dotfiles/scripts/pulseaudio-control.bash --icon-muted " " --icons-volume " , , " --node-nicknames-from device.product.name --node-nickname "alsa_output.pci-0000_2d_00.1.hdmi-stereo*: " --node-nickname "alsa_output.pci-0000_2f_00.4.analog-stereo*: " --node-type output output
|
||||||
click-left = ~/.dotfiles/scripts/pulseaudio-control.bash --node-type output togmute
|
click-left = ~/.dotfiles/scripts/pulseaudio-control.bash --node-type output togmute
|
||||||
click-right = exec pavucontrol &
|
click-right = exec pavucontrol &
|
||||||
click-middle = ~/.dotfiles/scripts/pulseaudio-control.bash --node-type output next-node
|
click-middle = ~/.dotfiles/scripts/pulseaudio-control.bash --node-type output next-node
|
||||||
|
@ -147,7 +147,7 @@ label = "%output%"
|
||||||
tail = true
|
tail = true
|
||||||
interval = 0
|
interval = 0
|
||||||
env-NODE-TYPE = "input"
|
env-NODE-TYPE = "input"
|
||||||
exec = ~/.dotfiles/scripts/pulseaudio-control.bash --icon-muted " " --icons-volume " , , " --node-nickname "alsa_input.pci-0000_2f_00.4.analog-stereo.2: " --node-type input output
|
exec = ~/.dotfiles/scripts/pulseaudio-control.bash --icon-muted " " --icons-volume " , , " --node-nickname "alsa_input.pci-0000_2f_00.4.analog-stereo*: " --node-nickname "*.monitor: " --node-type input output
|
||||||
click-left = ~/.dotfiles/scripts/pulseaudio-control.bash --node-type input togmute
|
click-left = ~/.dotfiles/scripts/pulseaudio-control.bash --node-type input togmute
|
||||||
click-right = exec pavucontrol &
|
click-right = exec pavucontrol &
|
||||||
click-middle = ~/.dotfiles/scripts/pulseaudio-control.bash --node-type input next-node
|
click-middle = ~/.dotfiles/scripts/pulseaudio-control.bash --node-type input next-node
|
||||||
|
|
Loading…
Reference in a new issue