#!/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=`sleep 1 && enlightenment_remote -default-bg-get | grep edj | awk --field-separator="\"" '{print $2}'`
image=`basename "$Image" .edj`
if [ "$ImAge" = "$Image" ]; then
echo image is the same
$HOME/e17setuser
elif [ "ImAge" <> "Image" ]; then
echo image is not the same i am doing to update u now Sir.
$deon
deon=`
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"`
$HOME/e17setuser
fi