Small audio output switcher script
Small audio output switcher script
pastebin.com select_audio_sink.py - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
I use this in Hyprland to quickly switch between the headphone jack and a USB wireless dongle. Executing the script will show a dialog that lists all available audio sinks, with the active sink selected. It requires pulseaudio
or pipewire-pulse
for the pactl
program, and kdialog
for the dialog.
0
comments