#!/usr/bin/env bash

set -o nounset -o errexit -o pipefail

if [[ $(pactl get-default-sink) == compressor-stereo ]]
then
    pactl set-default-sink alsa_output.pci-0000_30_00.6.analog-stereo
elif [[ $(pactl get-default-sink) == alsa_output.pci-0000_30_00.6.analog-stereo ]]
then
    pactl set-default-sink compressor-stereo
fi
