X-Git-Url: http://git.draconx.ca/gitweb/fvwmconf.git/blobdiff_plain/c6f5c393eef5f19621f50b2caecaab2136fc443e..543cc9cbbdd1e8cd6fc53623a586768034186532:/common/wallpaper diff --git a/common/wallpaper b/common/wallpaper index a80e320..b858eb4 100644 --- a/common/wallpaper +++ b/common/wallpaper @@ -22,9 +22,13 @@ AddToFunc SetWallpaper + I Exec exec ln -sf "$0" "$[BGFILE]" + I Exec exec $[SETROOT] "$[BGFILE]" -AddToFunc InitFunction +DestroyFunc SetInitialWallpaper +AddToFunc SetInitialWallpaper + I Exec if [ -f "$[BGFILE]" ]; then \ $[SETROOT] "$[BGFILE]"; \ else \ $[SETROOT] "$($[FVWM_USERDIR]/scripts/randombg.pl $[BGROOT])"; \ fi + +AddToFunc InitFunction I SetInitialWallpaper +AddToFunc SessionInitFunction I SetInitialWallpaper