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.
You must log in or register to comment.