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/itunes.scpt Executable file
View File

@@ -0,0 +1,12 @@
if application "iTunes" is running then
tell application "iTunes"
if exists current track then
set theName to the name of the current track
set theArtist to the artist of the current track
try
return "♫ " & theName & " - " & theArtist
on error err
end try
end if
end tell
end if