Created
April 27, 2017 02:43
-
-
Save juliosueiras/c0385f3b4694e59c9174dcdb77e14ddc to your computer and use it in GitHub Desktop.
Enable(Not the perfect solution) audio in Sheridan Mac
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
#!/bin/bash | |
if [ ! -z "$1" ]; then | |
while true; do | |
osascript -e "set volume output volume $1" | |
done | |
else | |
cat <<HERE | |
put_volume <volume_amount> | |
- <volume_amount> 0-100 | |
HERE | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment