remove spotify song from tmux

This code breaks if Spotify isn't installed, so just removing it
This commit is contained in:
Nick Nisi
2016-03-29 11:36:59 -07:00
parent acc05485e8
commit dd9a29fd4f

View File

@@ -10,15 +10,4 @@ if application "iTunes" is running then
end try end try
end if end if
end tell end tell
else if application "Spotify" is running then
tell application "Spotify"
set theName to name of the current track
set theArtist to artist of the current track
set theAlbum to album of the current track
set theUrl to spotify url of the current track
try
return "♫ " & theName & " - " & theArtist
on error err
end try
end tell
end if end if