# Stuff to handle pretty pictures on the background.
SetEnv SETROOT "fvwm-root -r"
-SetEnv BGFILE "$[FVWM_USERDIR]/wallpaper$[screen].png"
+SetEnv BGFILE "$[FVWM_USERDIR]/.state/wallpaper$[screen].png"
SetEnv BGROOT "$[HOME]/wallpaper"
CopyMenuStyle * MenuWallpaper
AddToFunc MakeMenuWallpaper
+ I DestroyMenu recreate MenuWallpaper
+ I AddToMenu MenuWallpaper Wallpaper Title
- + I PipeRead '. $[FVWM_USERDIR]/bgmenu.sh $[BGROOT] MenuWallpaper'
+ + I PipeRead '. $[FVWM_USERDIR]/scripts/bgmenu.sh $[BGROOT] MenuWallpaper'
DestroyFunc SetWallpaper
AddToFunc SetWallpaper