#!/bin/bash RUNNING=$(pgrep pavucontrol) if [ "$RUNNING" ]; then kill $RUNNING 2&>1 /dev/null else /usr/bin/pavucontrol fi