convert is deprecated, use magick

This commit is contained in:
2025-07-14 15:44:27 +02:00
parent a704635f33
commit 82a9bc823b

View File

@@ -46,7 +46,7 @@ url+="&access_token=$key"
# process incoming data
[ ! -d "$outdir" ] && { mkdir -p "$outdir" || error "failed to access '$outdir'!"; }
curl "$url" -o "$outdir/tmp.png" || error "failed to download from url='$url'!"
convert "$outdir/tmp.png" -alpha set -channel RGBA -fuzz 1% -fill none -floodfill +0+0 white "$outdir/curr.png"
magick "$outdir/tmp.png" -alpha set -channel RGBA -fuzz 1% -fill none -floodfill +0+0 white "$outdir/curr.png"
# update the feh background
. "$HOME/.fehbg"