#-----------------------------------------------------------------------------#
#
# 5. Stuff to do at start-up and on restart
#
#-----------------------------------------------------------------------------#

# Defines the background
#Read .start-Background
# This file defines which applications manager we start: TaskBarGlobal,
# TaskBarDesk, IconBoxGlobal, IconBoxDesk, ...etc.
Read .start-apps-man
# This one decides which big buttons we start BarButtons, Wharf or None
#Read .start-FvwmButtons
# This one decides if we start the DeskerPanel
#Read .start-DeskerPanelButtons
# This one decides if we start MiniButtons
#Read .start-MiniButtons
# This one decides if we start WinMakerAppButtons
Read .start-WinMakerAppButtons
# This file decides if we start FvwmAnimate or not
#Read .start-FvwmAnimate
# This one decides if we start FvwmAuto
#Read .start-FvwmAuto
# This one decides if we start FvwmBanner
#Read .start-FvwmBanner
# Sounds effect (FvwmEvent)
#Read .start-FvwmEvent

# The StartFunction is used at start and restart with or without a Session
# Manager. The above file .start-* defines this function. If
# we want Gtk menus and dialog (defined in the modules section) we start
# FvwmGtk.

AddToFunc StartFunction
#G_M_G 1
#+ I Module FvwmGtk

# The InitFunction is used at FVWM start

AddToFunc InitFunction
# Load the X Setup Scripts setting if we use it
+ I Exec [ -f $HOME/.xinitrc-fvwm ] && sh $HOME/.xinitrc-fvwm
+ I Exec exec xpmroot /usr/local/icons/Bliss.xpm

# The restart function:
AddToFunc RestartFunction
+ I Exec exec xpmroot /usr/local/icons/Bliss.xpm

#
# When used with a session manager FVWM uses SessionInitFunction and
# SessionRestartFunction in the place of  InitFunction and RestartFunction
#

AddToFunc SessionInitFunction
+ I Module FvwmPager 0 2

AddToFunc SessionRestartFunction
+ I Module FvwmPager 0 2

