In dwm, you can change the function which changes the displayed tag. I would change the function itself, but create a new one which given a list of strings (which are like "/path/to/file.jpg") and calls "xv" with the proper settings to set the background. The only problem with this is you'll have to recompile dwm every time you want to change the background.
You could also write a bash script which based upon it's command line arguments changes the background for you. This would not require you to re-compile dwm each time you want to change the background list.
Last edited by Ian John Locke II; 01-28-2012 at 03:58 PM.
Reason: Add other option