#name #interactive #sink #output #swap

app paswitch-rs

List and swap to pulse sinks by name

23 releases

new 0.3.17 Feb 16, 2026
0.3.16 Oct 28, 2025
0.3.15 May 6, 2025
0.3.14 Nov 19, 2024
0.1.1 Feb 11, 2021

#123 in Audio

GPL-3.0-only

25KB
370 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

~3–6.5MB
~117K SLoC