song: fix cmus album
This commit is contained in:
parent
8ff013e734
commit
31ccd633d2
2
neofetch
2
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 }')"
|
||||
;;
|
||||
|
|
Reference in New Issue