rendered paste body#!/bin/bash
# Done by PrinceAMD And LinuxNIT
cd $HOME/.e/e/backgrounds/
Image=`enlightenment_remote -default-bg-get | grep edj | awk --field-separator="\"" '{print $2}'`
image=`enlightenment_remote -default-bg-get | grep edj | awk --field-separator="\"" '{print $2}' | basename "`awk --field-separator="/" '{print $7}'`" .edj`
edje_decc $Image
if [ -r $image/$image.jpg ]; then
Esetroot -s $image/$image.jpg
elif [ -r $image/$image.png ]; then
Esetroot -s $image/$image.png
elif [ -r $image/$image.PNG ]; then
Esetroot -s $image/$image.PNG
elif [ -r $image/$image.JPEG ]; then
Esetroot -s $image/$image.JPEG
elif [ -r $image/$image.jpeg ]; then
Esetroot -s $image/$image.jpeg
elif [ -r $image/$image.JPG ]; then
Esetroot -s $image/$image.JPG
fi
#rm -r $image