use the newer img:// syntax over the IMG: syntax

This commit is contained in:
speedie 2023-06-04 19:41:35 +02:00
parent afd6191836
commit a7af77ef18

View file

@ -34,7 +34,7 @@ get_msg() {
# download the image
curl -so "$WDIR/iron-spmenu-image-$id.png" "$(sed "${i}q;d" "$WDIR/iron-spmenu-messageimg" | sed 's/"//g')"
IMG="IMG:$WDIR/iron-spmenu-image-$id.png"
IMG="img://$WDIR/iron-spmenu-image-$id.png"
[ ! -f "$WDIR/iron-spmenu-image-$id.png" ] && IMG=""
# print it