Re-added in the options for feh.
Removed the custom stuff for feh and put in hsetroot stuff instead. I didn't like feh, it didn't scale properly.
Because xloadimage doesn't work well with XRender, I added some code to enable feh as an alternative displayer.
Removed the TODO file since I am using a different system for TODO stuff.
Replaced the 'dir_match' option with 'match' which will match anything; there's now a different way of gettting the list of files. Also if you give a filename it will display the first file matching that filename string.
Added the 'nth' option, which will display the nth matching image.
Moved stuff around so that only global things are set in the "new" method, and everything else is properly passed around.
Also enabled the muralis script to override the config_dir and the regular expression used to decide what is an image file.
Used opendir/readdir/closedir instead, keeping this more perl.
I'd forgotten how woeful it was. Now all the options are actually described.
It seems that with some JPEG files, the Image::Info module can't cope with them, even though xloadimage can display them perfectly well. So, if Image::Info crashes, this now simply goes on to the display part. This means that for those particular files, no smart guessing of the appropriate options will happen, but the user can still set their wanted options from the command line.