From a704635f330e73f387def34d040e34783b37d461 Mon Sep 17 00:00:00 2001 From: Quinn Date: Mon, 14 Jul 2025 13:58:00 +0200 Subject: [PATCH] add background removal --- usr/bin/satalite-wp-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/bin/satalite-wp-update b/usr/bin/satalite-wp-update index 31ff46b..ad0b263 100755 --- a/usr/bin/satalite-wp-update +++ b/usr/bin/satalite-wp-update @@ -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'!" -mv -f "$outdir/tmp.png" "$outdir/curr.png" +convert "$outdir/tmp.png" -alpha set -channel RGBA -fuzz 1% -fill none -floodfill +0+0 white "$outdir/curr.png" # update the feh background . "$HOME/.fehbg"