From dd9a29fd4f77598b15f02ebfbd77cb2ff15ed574 Mon Sep 17 00:00:00 2001 From: Nick Nisi Date: Tue, 29 Mar 2016 11:36:59 -0700 Subject: [PATCH] remove spotify song from tmux This code breaks if Spotify isn't installed, so just removing it --- applescripts/tunes.scpt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/applescripts/tunes.scpt b/applescripts/tunes.scpt index 2cae174..56ff428 100755 --- a/applescripts/tunes.scpt +++ b/applescripts/tunes.scpt @@ -10,15 +10,4 @@ if application "iTunes" is running then end try end if 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