From 165fdac07b13fd8d4e98116b8f32ece1489c049f Mon Sep 17 00:00:00 2001 From: Nick Nisi Date: Sat, 16 Jun 2012 19:50:14 -0500 Subject: [PATCH] [tmux] Added music symbol, updated interval + added music symbold to spotify/itunes scripts + changed refresh interval from 5 seconds to 20 seconds --- bin/itunes.applescript | 2 +- bin/spotify.applescript | 2 +- tmux/tmux.conf.symlink | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/itunes.applescript b/bin/itunes.applescript index d4b81f4..61ec802 100644 --- a/bin/itunes.applescript +++ b/bin/itunes.applescript @@ -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 diff --git a/bin/spotify.applescript b/bin/spotify.applescript index 309d873..f0f95b6 100644 --- a/bin/spotify.applescript +++ b/bin/spotify.applescript @@ -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 diff --git a/tmux/tmux.conf.symlink b/tmux/tmux.conf.symlink index 53df8e8..1389d88 100644 --- a/tmux/tmux.conf.symlink +++ b/tmux/tmux.conf.symlink @@ -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 "