paswitch-rs

Crates.iopaswitch-rs
lib.rspaswitch-rs
version0.3.13
sourcesrc
created_at2021-02-11 22:21:05.137498
updated_at2024-08-23 08:19:49.324961
descriptionList and swap to pulse sinks by name
homepage
repositoryhttps://github.com/RobertPlant/paswitch-rs/
max_upload_size
id353955
size112,135
Robert Plant (RobertPlant)

documentation

README

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
Commit count: 41

cargo fmt