use the newer img:// syntax over the IMG: syntax
This commit is contained in:
parent
afd6191836
commit
a7af77ef18
|
@ -34,7 +34,7 @@ get_msg() {
|
||||||
|
|
||||||
# download the image
|
# download the image
|
||||||
curl -so "$WDIR/iron-spmenu-image-$id.png" "$(sed "${i}q;d" "$WDIR/iron-spmenu-messageimg" | sed 's/"//g')"
|
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=""
|
[ ! -f "$WDIR/iron-spmenu-image-$id.png" ] && IMG=""
|
||||||
|
|
||||||
# print it
|
# print it
|
||||||
|
|
Loading…
Reference in a new issue