#! /usr/local/bin/python -O
-"""Select a random image from $HOME/lib/xsetbg/images subdirectories
+"""Set a random background image (XWin)
+
+Select a random image from $HOME/lib/xsetbg/images subdirectories
and set it as the desktop wallpaper (display it in the root window).
-Author: Oleg BroytMann <phd@phd.pp.ru>
-Copyright (C) 2000-2006 PhiloSoft Design
"""
-__version__ = "3.0.0"
-__author__ = "Oleg BroytMann <phd@phd.pp.ru>"
-__copyright__ = "Copyright (C) 2000-2006 PhiloSoft Design"
+__version__ = "$Revision$"[11:-2]
__revision__ = "$Id$"[5:-2]
__date__ = "$Date$"[7:-2]
+__author__ = "Oleg BroytMann <phd@phd.pp.ru>"
+__copyright__ = "Copyright (C) 2000-2006 PhiloSoft Design"
+__license__ = "GNU GPL"
+
import sys, os