Last active
December 17, 2015 07:48
-
-
Save delputnam/5575288 to your computer and use it in GitHub Desktop.
Shell script for Mac OS X to raise volume slightly, play an MP3, and lower the volume again. I use it with Alfred's workflows to trigger the sound when I press a certain key combination. It's really just for fun.
This file contains hidden or 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
osascript -e "set Volume 3.5" | |
afplay ~/Dropbox/Sounds/itssofluffy.mp3 | |
osascript -e "set Volume 1.25" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment