From eeb09e886cad6befca5aeab03772517e74541525 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 26 Feb 2006 22:21:15 +0000 Subject: [PATCH] More comments. git-svn-id: file:///home/phd/archive/SVN/xsetbg/trunk@7 143022c7-580b-0410-bae3-87f2bf5d3141 --- print-filename.py | 15 ++++++++++----- xsetbg.py | 12 +++++++----- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/print-filename.py b/print-filename.py index 72769b1..a710a93 100755 --- a/print-filename.py +++ b/print-filename.py @@ -1,14 +1,19 @@ #! /usr/local/bin/python -O -"""This file is a part of XSetBg. -Author: Oleg BroytMann -Copyright (C) 2004-2006 PhiloSoft Design +"""Print background filename + +Print the filename of the current or previous background image. + +This file is a part of XSetBg. + """ __version__ = "$Revision$"[11:-2] +__revision__ = "$Id$"[5:-2] +__date__ = "$Date$"[7:-2] + __author__ = "Oleg BroytMann " __copyright__ = "Copyright (C) 2004-2006 PhiloSoft Design" -__date__ = "$Date$"[7:-2] -__revision__ = "$Id$"[5:-2] +__license__ = "GNU GPL" import sys, os, shelve diff --git a/xsetbg.py b/xsetbg.py index 3b3b02f..93791a4 100755 --- a/xsetbg.py +++ b/xsetbg.py @@ -1,16 +1,18 @@ #! /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 -Copyright (C) 2000-2006 PhiloSoft Design """ __version__ = "$Revision$"[11:-2] +__revision__ = "$Id$"[5:-2] +__date__ = "$Date$"[7:-2] + __author__ = "Oleg BroytMann " __copyright__ = "Copyright (C) 2000-2006 PhiloSoft Design" -__date__ = "$Date$"[7:-2] -__revision__ = "$Id$"[5:-2] +__license__ = "GNU GPL" import sys, os -- 2.39.2