Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
# credit https://gitlab.com/lyze237/dotfiles-public/blob/master/dotfiles/config/awesome/scripts/defaultSink.py
#
# TODO: if jack is present, ignore Focusrite sink
import os
import re
from subprocess import check_output, call