Created
February 20, 2016 18:23
-
-
Save dandye/e9ff9ca625fa95a0c5dd to your computer and use it in GitHub Desktop.
silence 30 & # Mute Spotify Ads
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
#!/bin/csh | |
osascript -e 'set volume with output muted' | |
if ( $# != "0" ) then | |
sleep $1 | |
osascript -e 'set volume without output muted' | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment