sinkctl - Audio Sink Switcher

Switch audio output sinks from the terminal. Works with PipeWire and WirePlumber.

Quick Start

sinkctl              # List all sinks
sinkctl buds         # Switch to Buds
sinkctl hdmi         # Switch to HDMI
sinkctl speakers     # Switch to speakers

Usage

sinkctl              # List all sinks with default marked
sinkctl <pattern>    # Switch to first sink matching pattern

Examples

List Available Sinks

sinkctl
Output
Audio Sinks:
    [44] 800 Series ACE Speaker
  → [67] Buds3 Pro

The marks the current default sink.

Switch to Buds

sinkctl buds
Output
Audio → Buds3 Pro

Switch to HDMI

sinkctl hdmi

How It Works

  1. Parses output from wpctl status

  2. Finds sinks matching the pattern (case-insensitive)

  3. Calls wpctl set-default <id> to switch

Dependencies

None - uses wpctl from WirePlumber (already installed with PipeWire).