[CONKY] Add taiwainese mandarin to languages

This commit is contained in:
Gregory Trolliet 2020-05-30 10:06:44 +02:00
parent c7a3796b66
commit c9305b52f5

View file

@ -258,10 +258,12 @@ language+=([no]="Norsk");
language+=([se]="Svenska");
language+=([it]="Italiano");
language+=([es]="Español");
language+=([jp]="Nihongo");
language+=([goyu]="Taiwanese Mandarin");
if cmus-remote -Q &>/dev/null ; then
COMMENT=$( cmus-remote -Q | grep "tag comment " | cut -d " " -f 3- )
LANGUAGE=$( echo $COMMENT | sed 's/.*lang:\(.\{2\}\).*/\1/')
LANGUAGE=$( echo $COMMENT | sed 's/.*lang:\(.\{2,4\}\).*/\1/')
if [ "$LANGUAGE" = "$COMMENT" ]; then
LANGUAGE="";
fi