Skip to content

Instantly share code, notes, and snippets.

@treasonx
Created December 27, 2011 15:23
Show Gist options
  • Save treasonx/1523989 to your computer and use it in GitHub Desktop.
Save treasonx/1523989 to your computer and use it in GitHub Desktop.
Control Spotify From CommandLine
#!/bin/bash
osascript -e 'tell application "spotify" to next track'
#!/bin/bash
osascript -e 'tell application "spotify" to playpause'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment