]> git.phdru.name Git - dotfiles.git/blob - .fvwm/startup
Feat(recode-filenames-recursive): Allow to omit parameters
[dotfiles.git] / .fvwm / startup
1 #-----------------------------------------------------------------------------#
2 #
3 # 5. Stuff to do at start-up and on restart
4 #
5 #-----------------------------------------------------------------------------#
6
7 # The StartFunction is used at start and restart with or without a Session
8 # Manager. The above file .start-* defines this function. If
9 # we want Gtk menus and dialog (defined in the modules section) we start
10 # FvwmGtk.
11
12 AddToFunc StartFunction
13 #G_M_G 1
14 #+ I Module FvwmGtk
15
16 # The InitFunction is used at FVWM start
17
18 AddToFunc InitFunction
19 # Load the X Setup Scripts setting if we use it
20 + I Exec [ -f $HOME/.xinitrc-fvwm ] && sh $HOME/.xinitrc-fvwm
21 #+ I Exec exec xsetroot -solid \#7F4B7F
22
23 # The restart function:
24
25 AddToFunc RestartFunction
26 #+ I Module FvwmButtons MyButtons
27
28 #
29 # When used with a session manager FVWM uses SessionInitFunction and
30 # SessionRestartFunction in the place of  InitFunction and RestartFunction
31 #
32
33 AddToFunc SessionInitFunction
34 # Do not Load the X Setup Scripts setting, some Session Managers have its own
35 # method (e.g., GNOME)
36 #+ I Exec [ -f $HOME/.xinitrc-fvwm ] && sh $HOME/.xinitrc-fvwm
37 #+ I Module FvwmButtons MyButtons
38
39 AddToFunc SessionRestartFunction
40 #+ I Module FvwmButtons MyButtons
41