Lines 36-55
Style "FvwmBanner" StaysOnTop
Link Here
|
36 |
Style "FvwmButtons" Icon toolbox.xpm, ClickToFocus |
36 |
Style "FvwmButtons" Icon toolbox.xpm, ClickToFocus |
37 |
|
37 |
|
38 |
# Styles for your common terminal emulator programs: |
38 |
# Styles for your common terminal emulator programs: |
39 |
Style "XTerm" Icon xterm.xpm, SloppyFocus, IconBox -70 1 -1 -140 |
39 |
# Style "XTerm" Icon xterm.xpm, SloppyFocus, IconBox -70 1 -1 -140 |
40 |
Style "rxvt" Icon term.xpm, SloppyFocus, IconBox -70 1 -1 -140 |
40 |
# Style "rxvt" Icon term.xpm, SloppyFocus, IconBox -70 1 -1 -140 |
41 |
Style "rxvt" MWMBorder, MWMButtons |
41 |
# Style "rxvt" MWMBorder, MWMButtons |
42 |
|
42 |
|
43 |
# Styles for various common programs: |
43 |
# Styles for various common programs: |
44 |
Style "*lock" !Title, !Handles, Sticky, WindowListSkip, ClickToFocus |
44 |
# Style "*lock" !Title, !Handles, Sticky, WindowListSkip, ClickToFocus |
45 |
Style "xbiff" !Title, Sticky, WindowListSkip, ClickToFocus |
45 |
# Style "xbiff" !Title, Sticky, WindowListSkip, ClickToFocus |
46 |
Style "xcalc" Icon xcalc.xpm, !Button 2,ClickToFocus |
46 |
# Style "xcalc" Icon xcalc.xpm, !Button 2,ClickToFocus |
47 |
Style "xmh" Icon mail1.xpm, !IconTitle,StickyIcon |
47 |
# Style "xmh" Icon mail1.xpm, !IconTitle,StickyIcon |
48 |
Style "xmh" !Button 2 |
48 |
# Style "xmh" !Button 2 |
49 |
Style "xman" Icon xman.xpm, ClickToFocus |
49 |
# Style "xman" Icon xman.xpm, ClickToFocus |
50 |
Style "xmag" Icon mag_glass.xpm, ClickToFocus |
50 |
# Style "xmag" Icon mag_glass.xpm, ClickToFocus |
51 |
Style "xgraph" Icon graphs.xpm, ClickToFocus |
51 |
# Style "xgraph" Icon graphs.xpm, ClickToFocus |
52 |
Style "xmosaic" Color Green/Yellow, ClickToFocus |
52 |
# Style "xmosaic" Color Green/Yellow, ClickToFocus |
53 |
|
53 |
|
54 |
|
54 |
|
55 |
# some simple default key bindings: |
55 |
# some simple default key bindings: |
Lines 88-100
AddToFunc SessionInitFunction
Link Here
|
88 |
|
88 |
|
89 |
######################## Menus ################### |
89 |
######################## Menus ################### |
90 |
AddToMenu RootMenu "Root Menu" Title |
90 |
AddToMenu RootMenu "Root Menu" Title |
91 |
+ "XTerm" Exec exec xterm |
91 |
# + "XTerm" Exec exec xterm |
92 |
+ "Rxvt" Exec exec rxvt |
92 |
# + "Rxvt" Exec exec rxvt |
93 |
+ "" Nop |
93 |
# + "" Nop |
94 |
+ "Remote Logins" Popup Remote-Logins |
94 |
# + "Remote Logins" Popup Remote-Logins |
95 |
+ "" Nop |
95 |
# + "" Nop |
96 |
+ "Utilities" Popup Utilities |
96 |
# + "Utilities" Popup Utilities |
97 |
+ "" Nop |
97 |
# + "" Nop |
98 |
+ "Fvwm Modules" Popup Module-Popup |
98 |
+ "Fvwm Modules" Popup Module-Popup |
99 |
+ "Fvwm Window Ops" Popup Window-Ops |
99 |
+ "Fvwm Window Ops" Popup Window-Ops |
100 |
+ "Fvwm Simple Config Ops" Popup Misc-Ops |
100 |
+ "Fvwm Simple Config Ops" Popup Misc-Ops |
Lines 104-122
AddToMenu RootMenu "Root Menu" Title
Link Here
|
104 |
+ "" Nop |
104 |
+ "" Nop |
105 |
+ "Exit Fvwm" Popup Quit-Verify |
105 |
+ "Exit Fvwm" Popup Quit-Verify |
106 |
|
106 |
|
107 |
AddToMenu Utilities "Utilities" Title |
107 |
# AddToMenu Utilities "Utilities" Title |
108 |
+ "Top" Exec exec xterm -T Top -n Top -e top |
108 |
# + "Top" Exec exec xterm -T Top -n Top -e top |
109 |
+ "Calculator" Exec exec xcalc |
109 |
# + "Calculator" Exec exec xcalc |
110 |
+ "Xman" Exec exec xman |
110 |
# + "Xman" Exec exec xman |
111 |
+ "Xmag" Exec exec xmag |
111 |
# + "Xmag" Exec exec xmag |
112 |
+ "Editres" Exec exec editres |
112 |
# + "Editres" Exec exec editres |
113 |
+ "" Nop |
113 |
# + "" Nop |
114 |
+ "XEmacs" Exec exec xemacs |
114 |
# + "XEmacs" Exec exec xemacs |
115 |
+ "Mail" MailFunction xmh "-font fixed" |
115 |
# + "Mail" MailFunction xmh "-font fixed" |
116 |
+ "" Nop |
116 |
# + "" Nop |
117 |
+ "XLock" Exec exec xlock -mode random |
117 |
# + "XLock" Exec exec xlock -mode random |
118 |
+ "" Nop |
118 |
# + "" Nop |
119 |
+ "Reset X defaults" Exec xrdb -load $HOME/.Xdefaults |
119 |
# + "Reset X defaults" Exec xrdb -load $HOME/.Xdefaults |
120 |
|
120 |
|
121 |
AddToMenu Misc-Ops "Misc Config Opts" Title |
121 |
AddToMenu Misc-Ops "Misc Config Opts" Title |
122 |
+ "Sloppy Focus" ChangeDefaultFocus SloppyFocus |
122 |
+ "Sloppy Focus" ChangeDefaultFocus SloppyFocus |
Lines 165-178
AddToMenu Window-Ops2 "&Move" Move
Link Here
|
165 |
+ "Print Reverse" PrintReverseFunction |
165 |
+ "Print Reverse" PrintReverseFunction |
166 |
|
166 |
|
167 |
# be sure to fill these in with your correct machine names: |
167 |
# be sure to fill these in with your correct machine names: |
168 |
AddToMenu Remote-Logins "dopey" Exec ssh dopey rxvt -display $HOSTDISPLAY & |
168 |
# AddToMenu Remote-Logins "dopey" Exec ssh dopey rxvt -display $HOSTDISPLAY & |
169 |
+ "snoopy" Exec ssh snoopy rxvt -display $HOSTDISPLAY & |
169 |
# + "snoopy" Exec ssh snoopy rxvt -display $HOSTDISPLAY & |
170 |
+ "grumpy" Exec ssh grumpy rxvt -display $HOSTDISPLAY & |
170 |
# + "grumpy" Exec ssh grumpy rxvt -display $HOSTDISPLAY & |
171 |
+ "happy" Exec ssh happy rxvt -display $HOSTDISPLAY & |
171 |
# + "happy" Exec ssh happy rxvt -display $HOSTDISPLAY & |
172 |
+ "bailey" Exec ssh bailey rxvt -display $HOSTDISPLAY & |
172 |
# + "bailey" Exec ssh bailey rxvt -display $HOSTDISPLAY & |
173 |
+ "barnum" Exec ssh barnum rxvt -display $HOSTDISPLAY & |
173 |
# + "barnum" Exec ssh barnum rxvt -display $HOSTDISPLAY & |
174 |
+ "joker" Exec ssh joker rxvt -display $HOSTDISPLAY & |
174 |
# + "joker" Exec ssh joker rxvt -display $HOSTDISPLAY & |
175 |
+ "signal" Exec rxterm signal |
175 |
# + "signal" Exec rxterm signal |
176 |
|
176 |
|
177 |
AddToMenu Module-Popup "FvwmModules" Title |
177 |
AddToMenu Module-Popup "FvwmModules" Title |
178 |
+ "Identify" Module FvwmIdent |
178 |
+ "Identify" Module FvwmIdent |
Lines 200-216
AddToMenu Quit-Verify "Really Quit Fvwm?" Title
Link Here
|
200 |
+ "Yes, Really Quit" Quit |
200 |
+ "Yes, Really Quit" Quit |
201 |
+ "" Nop |
201 |
+ "" Nop |
202 |
+ "Restart Fvwm" Restart |
202 |
+ "Restart Fvwm" Restart |
203 |
+ "Restart Fvwm 1.x" Restart fvwm -s |
203 |
# + "Restart Fvwm 1.x" Restart fvwm -s |
204 |
+ "" Nop |
204 |
# + "" Nop |
205 |
+ "Start twm" Restart twm |
205 |
# + "Start twm" Restart twm |
206 |
+ "Start ctwm" Restart ctwm |
206 |
# + "Start ctwm" Restart ctwm |
207 |
+ "Start tvtwm" Restart tvtwm |
207 |
# + "Start tvtwm" Restart tvtwm |
208 |
+ "Start vtwm" Restart vtwm |
208 |
# + "Start vtwm" Restart vtwm |
209 |
+ "Start mwm" Restart mwm |
209 |
# + "Start mwm" Restart mwm |
210 |
+ "Start olwm" Restart /usr/openwin/bin/olwm |
210 |
# + "Start olwm" Restart /usr/openwin/bin/olwm |
211 |
+ "" Nop |
211 |
# + "" Nop |
212 |
+ "Start dummy" Restart xterm |
212 |
# + "Start dummy" Restart xterm |
213 |
+ "" Nop |
213 |
# + "" Nop |
214 |
+ "No, Don't Quit" Nop |
214 |
+ "No, Don't Quit" Nop |
215 |
|
215 |
|
216 |
######################## Sample Functions ########################## |
216 |
######################## Sample Functions ########################## |
Lines 275-283
AddToFunc ChangeDefaultFocus I Style * $0
Link Here
|
275 |
*FvwmButtons: (3x2 Frame 2 Swallow "FvwmIconMan" "Module FvwmIconMan") |
275 |
*FvwmButtons: (3x2 Frame 2 Swallow "FvwmIconMan" "Module FvwmIconMan") |
276 |
*FvwmButtons: (1x2 Frame 2 Swallow(UseOld) "FvwmPager" "Module FvwmPager 0 0") |
276 |
*FvwmButtons: (1x2 Frame 2 Swallow(UseOld) "FvwmPager" "Module FvwmPager 0 0") |
277 |
*FvwmButtons: (1x2 Frame 0 Container(Rows 2 Columns 2 Frame 0)) |
277 |
*FvwmButtons: (1x2 Frame 0 Container(Rows 2 Columns 2 Frame 0)) |
278 |
*FvwmButtons: (Frame 2 Swallow(UseOld,NoHints,Respawn) "xbiff" `Exec exec xbiff -bg bisque3`) |
278 |
# *FvwmButtons: (Frame 2 Swallow(UseOld,NoHints,Respawn) "xbiff" `Exec exec xbiff -bg bisque3`) |
279 |
*FvwmButtons: (Frame 3 Swallow(UseOld,NoHints,Respawn) "xclock" `Exec exec xclock -bg bisque3 -fg black -hd black -hl black -padding 0 -update 1`) |
279 |
# *FvwmButtons: (Frame 3 Swallow(UseOld,NoHints,Respawn) "xclock" `Exec exec xclock -bg bisque3 -fg black -hd black -hl black -padding 0 -update 1`) |
280 |
*FvwmButtons: (2x1 Frame 2 Swallow(UseOld,NoHints,Respawn) "xload" `Exec exec xload -bg bisque3 -fg black -update 5 -nolabel`) |
280 |
# *FvwmButtons: (2x1 Frame 2 Swallow(UseOld,NoHints,Respawn) "xload" `Exec exec xload -bg bisque3 -fg black -update 5 -nolabel`) |
281 |
*FvwmButtons: (End) |
281 |
*FvwmButtons: (End) |
282 |
*FvwmButtons: (End) |
282 |
*FvwmButtons: (End) |
283 |
|
283 |
|