Setting it up: introduction
CWallpaper uses a set of configuration files located in your
home folder for determining how it should set the wallpaper, and where
it should get the wallpapers from.
These files are located in the folder
/home/yourusername/.config/cwallpaper/
Setting it up: config files
The syntax for the config files is quite easy. Basically, you
tell CWallpaper which wallpaper setting program to use, and which
options to use for what. The config cwallpaper runs when it starts
without options is saved as
/home/yourusername/.config/cwallpaper/config
An example config file:
program: fbsetbg scale: -a center: -c tile:
-t default: s |
This config file would tell CWallpaper to use the program
fbsetbg to set the wallpaper. It also says to attach a -a
to the end of the command when the user selects the scale to fit option.
It will attach a -c to the command to center the image, and a
-t to tile it. The default option tells it that the default
option is scaling to fit.
Setting it up: wallpaper lists
Wallpaper lists are basically files with lists of the paths
to wallpapers.
An example list:
/home/xentalion/Images/Wallpapers/abstract1.jpg /usr/share/wallpapers/default.png |
Included with CWallpaper is a script for recursivly building a
wallpaper list from a directory, such as
/home/yourusername/Images/Wallpaper
It is called makeList.sh.