#-----------------------------------------------------------------------------# # # 5. Stuff to do at start-up and on restart # #-----------------------------------------------------------------------------# # 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 xsetroot -solid \#7F4B7F # The restart function: AddToFunc RestartFunction #+ I Module FvwmButtons MyButtons # # When used with a session manager FVWM uses SessionInitFunction and # SessionRestartFunction in the place of InitFunction and RestartFunction # AddToFunc SessionInitFunction # Do not Load the X Setup Scripts setting, some Session Managers have its own # method (e.g., GNOME) #+ I Exec [ -f $HOME/.xinitrc-fvwm ] && sh $HOME/.xinitrc-fvwm #+ I Module FvwmButtons MyButtons AddToFunc SessionRestartFunction #+ I Module FvwmButtons MyButtons