[tmux] Adding Rdio info to bottom bar
This commit is contained in:
10
bin/rdio.applescript
Normal file
10
bin/rdio.applescript
Normal file
@@ -0,0 +1,10 @@
|
||||
if application "Rdio" is running then
|
||||
tell application "Rdio"
|
||||
set theName to name of the current track
|
||||
set theArtist to artist of the current track
|
||||
try
|
||||
return "♫ " & theName & " - " & theArtist
|
||||
on error err
|
||||
end try
|
||||
end tell
|
||||
end if
|
||||
Reference in New Issue
Block a user