Joined: Sep. 2005
||Posted: Dec. 02 2007,18:43
|Quote (roberts @ Dec. 02 2007,08:56)|
|So using this scheme every window manager has the same wallpaper?|
well, every window manager that has the xsri command in the .inc file will load it at X startup.
infact, thinking about it, it's probably best if the .inc file just call set_wallpaper instead of the xsri command.
anyway, i have combined set_wallpaper and reload_wallpaper into one script;
|Code Sample |
#copy the wallpaper to a file called 'default' inside the desktop wallpaper folder and load it.
#if no <file> is given, just reload 'default'
if [ "$1" != "" ]; then
cp $1 /home/dsl/.dfmdesk/wallpaper/default
xsri --scale-width=100 --scale-height=100 /home/dsl/.dfmdesk/wallpaper/default
just double click set_wallpaper to reload it.