20 releases

0.3.14 Nov 19, 2024
0.3.12 May 30, 2024
0.3.11 Feb 20, 2024
0.3.9 Oct 31, 2023
0.1.1 Feb 11, 2021

#36 in Audio

Download history 153/week @ 2024-08-22 4/week @ 2024-08-29 16/week @ 2024-09-12 21/week @ 2024-09-19 7/week @ 2024-09-26 2/week @ 2024-10-03 113/week @ 2024-11-14 39/week @ 2024-11-21 2/week @ 2024-11-28

154 downloads per month

GPL-3.0-only

26KB
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

~3–12MB
~127K SLoC