I've added this to set_wallpaper script and it works
if [ "$(file $NEWWP | grep PNG)" ]; then rename jpg png $NEWWP fi
I've added this to set_wallpaper script and it works
if [ "$(file $NEWWP | grep PNG)" ]; then
rename jpg png $NEWWP
fi