Advertisement
Guest User

Untitled

a guest
Feb 24th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. #!/usr/bin/env bash
  2. artist=`osascript -e 'tell application "Spotify" to artist of current track as string'`;
  3. #album=`osascript -e 'tell application "Spotify" to album of current track as string'`;
  4. track=`osascript -e 'tell application "Spotify" to name of current track as string'`;
  5. osascript -e 'display notification "'"$track"'" with title "'"$artist"'"'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement