Pipewire: pause audio when bluetooth headphones are disconnected?

Posted by LonelyMachines@reddit | linux | View on Reddit | 2 comments

I'm running Mint 22 on a Lenovo Yoga. I have Pipewire and Wireplumber running.

Whenever I disconnect my bluetooth headphones, the audio switches to the speakers. That's annoying. On my desktop, it just pauses the audio when the headphones disconnect.

I know how to fix this in Pulseaudio, but is there a way to keep it from switching in Pipewire?