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
How It Works
-
Parses output from
wpctl status -
Finds sinks matching the pattern (case-insensitive)
-
Calls
wpctl set-default <id>to switch