Skip to content

Instantly share code, notes, and snippets.

View col16's full-sized avatar

Cameron col16

View GitHub Profile
#!/bin/bash
osascript <<EOD
display dialog "Ready to play song?"
tell application "Spotify"
set current_volume to the sound volume
if (player state is playing) then
repeat
repeat with i from current_volume to 0 by -1
set the sound volume to i