#!/usr/local/bin/bash
file=$(basename -- "$1")
dir=$(dirname -- "$1")
arr=()
shift
cd -- "$dir"
for i in *; do
[[ -f $i ]] || continue
arr+=("$i")
[[ $i == $file ]] && c=$((${#arr[@]} - 1))
done
exec feh -d --draw-filename --scale-down --draw-tinted -B black -g 800x600 "$@" -- "${arr[@]:c}" "${arr[@]:0:c}"
#!/usr/local/bin/bash
im=`date | awk '{print $2 "-" $3 "-" $4 ".jpg"}'`
cp /media/data/Sist/wall/wall.jpg /media/data/Sist/wall/$im
cp $1 /home/juan/Sist/wall/wall.jpg
Esetroot -s /home/juan/Sist/wall/wall.jpg
Esetroot -s ~/Sist/walls/wall.jpg
The following is from my large collection of sayings from e-mail signatures (I don't know the author, unfortunately):I'm just impressed that we have software that is 30 years old and still works . Take that <insert big, ugly commercial OS name here>!
That wallpaper is making me dizzy