13 releases
new 0.3.7 | May 25, 2023 |
---|---|
0.3.6 | Feb 21, 2023 |
0.3.5 | Nov 17, 2022 |
0.3.2 | Jun 21, 2022 |
0.1.1 | Feb 11, 2021 |
#74 in Hardware support
41 downloads per month
27KB
446 lines
paswitch-rs
Wrapper around paswitch to allow for swapping to a pulse source by an attribute other than its id.
Prerequisites
Rust 2021
pactl
paswitch
Installation
Via git
cargo install --git https://github.com/RobertPlant/paswitch-rs --branch master
Via crates.io
cargo install paswitch-rs
On Archlinux
yay paswitch-rs
Examples:
Swap all output to a named device:
paswitch-rs Fiio
List available devices:
paswitch-rs --list
Interactively select an output device:
paswitch-rs --interactive
Dependencies
~4MB
~92K SLoC