[tmux] Added music symbol, updated interval

+ added music symbold to spotify/itunes scripts
+ changed refresh interval from 5 seconds to 20 seconds
This commit is contained in:
Nick Nisi
2012-06-16 19:50:14 -05:00
parent 4b25ee68e3
commit 165fdac07b
3 changed files with 3 additions and 3 deletions

View File

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

View File

@@ -5,7 +5,7 @@ if application "Spotify" is running then
set theAlbum to album of the current track
set theUrl to spotify url of the current track
try
return theName & " - " & theArtist
return "♫ " & theName & " - " & theArtist
on error err
end try
end tell

View File

@@ -132,7 +132,7 @@ tm_host='#[fg=colour39,bg=colour234,bold]#h'
set -g status-left-length 32
set -g status-right-length 150
set -g status-interval 5
set -g status-interval 20
set -g window-status-format "#[fg=colour239,bg=colour234] #I #W "