fixed iTunes song output
This commit is contained in:
parent
e62739842a
commit
543da69eb1
2
neofetch
2
neofetch
|
@ -1489,7 +1489,7 @@ getsong () {
|
|||
state="$(gpmdp status)"
|
||||
|
||||
elif [ -n "$(ps x | awk '!(/awk/ || /Helper/) && /iTunes/')" ]; then
|
||||
song="$(osascript -e 'tell application "iTunes" to artist of current track as string & " - " name of current track as string')"
|
||||
song="$(osascript -e 'tell application "iTunes" to artist of current track as string & " - " & name of current track as string')"
|
||||
state="$(osascript -e 'tell application "iTunes" to player state as string')"
|
||||
|
||||
else
|
||||
|
|
Reference in New Issue