Generate a slideshow to GNOME desktop background.
slideshow.sh INDIR > "slideshow.$(date -I).xml"
#!/bin/bash
# my-slideshow.sh
slideshow::init
# Add first image
slideshow::static "10" "IMG1.jpg"
# First image transition to the second one
slideshow::transition "5" "IMG1.jpg" "IMG2.jpg"
# Second image
slideshow::static "10" "IMG2.jpg"
# Second image transition to the third one
slideshow::transition "5" "IMG2.jpg" "IMG3.jpg"
# Second image transition to the third one
slideshow::static "10" "IMG3.jpg"
# Loop last image transtion to the first one.
slideshow::transition "5" "IMG3.jpg" "IMG1.jpg"
slideshow::end./my-slideshow.sh > my-slideshow.xml