improved artist view

This commit is contained in:
2025-07-24 11:39:48 +02:00
parent 6731d47b49
commit a70d0cd5fe
4 changed files with 10 additions and 9 deletions

View File

@@ -5,5 +5,5 @@ __preview_artist() {
if [ ! "$desc" ]; then
desc=$(mb_artist_discogs "$1" | $JQ -r '.profile' | sed 's/\[a=\([^]]*\)\]/\1/g')
fi
echo "$desc" | fold -s -w "$FZF_PREVIEW_COLUMNS" | $CAT
printf "\n\n%s" "$desc" | tr -d '\r' | fold -s -w "$((FZF_PREVIEW_COLUMNS - 4))" | awk '{print " "$0" "}' | $CAT
}