Does set-default-sink change an already current stream? Or do you need move-sink-input.
I’ve looked at the manpages but was a bit overwhelmed and didn’t try to make my own script. Your solution gives me motivation to do so. I also use sway and pipewire. Though I use fuzzel for my launcher.
Yup, Google Now was actually useful and helpful, so of course they had to get rid of it.