Added unread mail count to tmux pane

Unread mail count comes from an AppleScript that asks Mail.app
This commit is contained in:
Nick Nisi
2012-09-29 18:50:23 -05:00
parent 5d26e75ae6
commit 1f6f09e457
5 changed files with 78 additions and 13 deletions

12
bin/spotify.scpt Executable file
View File

@@ -0,0 +1,12 @@
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