From 543da69eb161eb5f9fccf167b7df0160639d9d95 Mon Sep 17 00:00:00 2001 From: Andrew Titmuss Date: Sat, 28 May 2016 15:24:40 +1000 Subject: [PATCH] fixed iTunes song output --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 9be2f46f..e651fb66 100755 --- a/neofetch +++ b/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