47 |
47 |
48 ModulePath $[FVWM_USERDIR]:+ |
48 ModulePath $[FVWM_USERDIR]:+ |
49 ImagePath m4_ICONPATH;.xpm:m4_IMGPATH:+ |
49 ImagePath m4_ICONPATH;.xpm:m4_IMGPATH:+ |
50 |
50 |
51 ################################################################ |
51 ################################################################ |
|
52 # Set aliases to common values. |
|
53 |
|
54 m4_define(`m4_MONOFONT', `-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1')m4_dnl |
|
55 # As args expected class name. |
|
56 m4_define(`m4_XTERM_MC',`xterm -name $1 -fn "'m4_MONOFONT`" -geometry 136x42 -e bash -i -c "mc -x"')m4_dnl |
|
57 |
|
58 ################################################################ |
52 # Startup functions. |
59 # Startup functions. |
53 |
60 |
54 # Define places for autoloaded programs. |
61 # Define places for autoloaded programs. |
55 # StartsOnPage [desk [x y]] |
62 # StartsOnPage [desk [x y]] |
56 Style "mc-main1" StartsOnPage 0 1 0, SkipMapping |
63 Style "mc-main1" StartsOnPage 0 1 0, SkipMapping |
59 Style "XClock" !Title, Sticky, StaysOnTop, !Iconifiable, FixedPosition, FixedSize, WindowListSkip, CirculateSkip |
66 Style "XClock" !Title, Sticky, StaysOnTop, !Iconifiable, FixedPosition, FixedSize, WindowListSkip, CirculateSkip |
60 |
67 |
61 # Run only om sturtup. |
68 # Run only om sturtup. |
62 DestroyFunc InitFunction |
69 DestroyFunc InitFunction |
63 AddToFunc InitFunction |
70 AddToFunc InitFunction |
64 + I Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ |
71 + I Exec exec m4_XTERM_MC(`mc-main1') |
65 -name mc-main1 -geometry 136x42 -e bash -i -c "mc -x" |
72 + I Exec exec m4_XTERM_MC(`mc-main2') |
66 + I Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ |
|
67 -name mc-main2 -geometry 136x42 -e bash -i -c "mc -x" |
|
68 + I Exec exec goldendict |
73 + I Exec exec goldendict |
69 # Right offset: 80 from FvwmPager + 2*6 from border = 92. |
74 # Right offset: 80 from FvwmPager + 2*6 from border = 92. |
70 + I Exec exec xclock -digit -update 1 -strftime '%F %T %a' -padding 2 -geometry 165x18-92+0 -face Monospace-9 -bg gray |
75 + I Exec exec xclock -digit -update 1 -strftime '%F %T %a' -padding 2 -geometry 165x18-92+0 -face Monospace-9 -bg gray |
71 |
76 |
72 # Run after each restart. |
77 # Run after each restart. |
342 |
347 |
343 # Use interactive bash mode to read profile (~/.bashrc) to override default |
348 # Use interactive bash mode to read profile (~/.bashrc) to override default |
344 # value of PS1. |
349 # value of PS1. |
345 AddToMenu MenuMyRoot MenuMyRoot Title |
350 AddToMenu MenuMyRoot MenuMyRoot Title |
346 + Xterm Exec exec xterm -e bash -i |
351 + Xterm Exec exec xterm -e bash -i |
347 + Mc Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ |
352 + Mc Exec exec m4_XTERM_MC(`mc-secondary') |
348 -name mc-secondary -geometry 136x42 -e bash -i -c "mc -x" |
|
349 + debian Popup "/Debian" |
353 + debian Popup "/Debian" |
350 + my Popup MenuMy |
354 + my Popup MenuMy |
351 + fvwm Popup MenuFvwmRoot |
355 + fvwm Popup MenuFvwmRoot |
352 |
356 |
353 ################################################################ |
357 ################################################################ |