Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
cd ~/PATH/TO/DSDPLUS/
id=$(pactl list sink-inputs | grep -e 'application.name = "GQRX"' -e 'Sink Input #' | grep 'application.name = "GQRX"' -B1 | head -n1 | sed -e 's/Sink Input #//g')
unmute(){
pactl set-sink-input-mute $id 0
pactl unload-module $TMP
}