beautify tmux spotify
This commit is contained in:
parent
c22188f54c
commit
2fa2c85b48
1 changed files with 3 additions and 3 deletions
|
|
@ -9,13 +9,13 @@ tell application "Spotify"
|
|||
|
||||
if artist_name > 0
|
||||
# If the track has an artist set and is therefore most likely a song rather than an advert
|
||||
"♫ " & artist_name & " - " & track_name
|
||||
" ♫ " & artist_name & " - " & track_name
|
||||
else
|
||||
# If the track doesn't have an artist set and is therefore most likely an advert rather than a song
|
||||
"~ " & track_name
|
||||
" ~ " & track_name
|
||||
end if
|
||||
else
|
||||
"⏸︎ Spotify is paused"
|
||||
" ⏸︎ Spotify is paused"
|
||||
end if
|
||||
end if
|
||||
end tell
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue