zbgset - A perl program for managing the background.
zbgset (-f <file>|-r|-l) [-F <fill type>] [-s <ZConf set>]
Either -f, -r, or -l need used.
This does not actually set the background, but calls another program to do it, but what makes it useful is it allows for random images to be used as well as the last image to be called. This makes it useful for setting the image upon login or changing it regullarly through cron.
When it is ran for the first time it creates a ZConf config named "zbgset" used store the settings.
This specifies a file to use.
This specifies the fill type to use.
Use the last image.
If this is specified, the specified path is used for selecting the random image from.
This is the ZConf set to use for it. If the set has not been initiated before it will do so.
Any codes not listed below reflect the error value of ZConf::BGSet.
No usable options specified.
Copyright (c) 2008, Zame C. Bowers <vvelox@vvelox.net>
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS` OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-Exit code cleanup,
-Update set usage.
-Remove notes about 'cair' from help.
-Import into ZConf::BSset.
-Make use of ZConf::BGSet.
-Add CHANGELOG to the POD.
-Add add the 'cair' setter, Content Aware Image Resizer. Use 'cairhelper' script from CPAN to use this.
Desktop
any
To install ZConf::BGSet, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ZConf::BGSet
CPAN shell
perl -MCPAN -e shell install ZConf::BGSet
For more information on module installation, please visit the detailed CPAN module installation guide.