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’ve been running wow on linux via lutris since BFA.