X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/317fea4ca4c999c0fef9a9f15020e8b301a1ef43..5d892e0ceb9d4dece6d2d61b2e5c4046bbc91e9f:/scripts/mpdcover diff --git a/scripts/mpdcover b/scripts/mpdcover index 6f9062c..a611666 100755 --- a/scripts/mpdcover +++ b/scripts/mpdcover @@ -37,9 +37,6 @@ fi # The default cover to use (optional) DEFAULT_ART=$4 -# Thumbnail background (transparent) -COVER_BACKGROUND="none" - #-------------------------------------------------------------------- # check if anything is playing at all @@ -58,7 +55,7 @@ cover="${cover:=$DEFAULT_ART}" # check if art is available if [[ -n $cover ]]; then if [[ -n $COVER_RESIZE ]]; then - convert "$cover" -scale $COVER_RESIZE -gravity "center" -background "$COVER_BACKGROUND" "$TEMP_PATH" + convert "$cover" -scale $COVER_RESIZE "$TEMP_PATH" cover="$TEMP_PATH" fi else