marioortizmanero / polybar-pulseaudio-control

A feature-full Polybar module to control PulseAudio
MIT License
471 stars 49 forks source link

Add active port to Sink Name #32

Closed ninjawithaneedle closed 3 years ago

ninjawithaneedle commented 4 years ago

Pulse audio can have multiple ports per sink. If you plug in headphones, it uses the same sink with a different port. This change will add the active port to the sink like below.

alsa_output.pci-0000_00_1f.3.analog-stereo/analog-output-speaker
bluez_sink.04_5D_4B_65_F7_1F.a2dp_sink/headset-output

With this, it is possible to have different sink nickname for when a wired headphone is connected.

marioortizmanero commented 3 years ago

Hey @ninjawithaneedle are you going to have time to finish this? Please let me know, or I will take over the PR and finish it myself.

samyak-jain commented 3 years ago

Hey @marioortizmanero, any idea on what's left to complete in this PR? I can try lending a hand.

marioortizmanero commented 3 years ago

Hi! This is a list of what's needed more or less:

marioortizmanero commented 3 years ago

Now that #43 has been merged this can be closed.