Created
February 6, 2018 13:51
-
-
Save mgamer/f1457031aba0792c1ff47de928fc1f22 to your computer and use it in GitHub Desktop.
fix bose
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
while : | |
do | |
SOURCE=`SwitchAudioSource -t input -c` | |
if [ "$SOURCE" = 'mbose' ] | |
then | |
echo "mbose is on, disabling it" | |
SwitchAudioSource -t input -s "Built-in Microphone" | |
fi | |
sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment