From 31ccd633d28773bec4993eed93f9c5aeb06c7789 Mon Sep 17 00:00:00 2001 From: Michael Straube Date: Tue, 26 Dec 2017 09:22:03 +0100 Subject: [PATCH] song: fix cmus album --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index d7e6b422..f8c7691e 100755 --- a/neofetch +++ b/neofetch @@ -1454,7 +1454,7 @@ guayadeque|yarock|qmmp|quodlibet|deepin-music|tomahawk|pogo|elisa/ {printf $5 " "cmus"*) song="$(cmus-remote -Q | awk 'BEGIN { ORS=" "}; /tag artist/ {$1=$2=""; sub(" ", ""); a=$0}\ - /tag album/ {$1=$2=""; sub(" ", ""); b=$0}\ + /tag album / {$1=$2=""; sub(" ", ""); b=$0}\ /tag title/ {$1=$2=""; sub(" ", ""); t=$0}\ END { print a " - " b " - " t }')" ;;