[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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 "
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user