rendered paste bodyPrinceAMD@Elive[~]$ cat /usr/bin/e17setuser
#!/bin/bash
# Done by PrinceAMD And LinuxNIT
cd $HOME/.e/e/backgrounds/
Image=`enlightenment_remote -default-bg-get | grep edj | awk '{print $2}' | awk --field-separator="/" '{print $7}' | tr -d '"'`
image=`basename $Image .edj`
output=`edje_decc $image.edj`
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
#Image=enlightenment_remote -default-bg-get | grep edj |basename ` awk '{print $2}'` .edj\"
#Esetroot -s $image/$image.jpg || Esetroot -s $image/$image.png