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.
I’m pretty sure it’s a cucumber plant. I planted them for the first time this year and they grow those little things to grab onto stuff for support. It’s really neat!