Wrapper around paswitch to allow for swapping to a pulse source by an attribute other than its id.
Rust 2018
pactl
paswitch
cargo install --git https://github.com/RobertPlant/paswitch-rs --branch master
cargo install paswitch-rs
yay paswitch-rs
Swap all output to a named device:
paswitch-rs Fiio
List available devices:
paswitch-rs --list
Interactively select an output device:
paswitch-rs --interactive