This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |