6 m4_define(`m4_IMGPATH', `$[FVWM_USERDIR]/images')m4_dnl |
6 m4_define(`m4_IMGPATH', `$[FVWM_USERDIR]/images')m4_dnl |
7 m4_define(`m4_ICONPATH', `$[FVWM_USERDIR]/icons')m4_dnl |
7 m4_define(`m4_ICONPATH', `$[FVWM_USERDIR]/icons')m4_dnl |
8 |
8 |
9 ModulePath $[FVWM_USERDIR]:+ |
9 ModulePath $[FVWM_USERDIR]:+ |
10 ImagePath m4_ICONPATH;.xpm:m4_IMGPATH:+ |
10 ImagePath m4_ICONPATH;.xpm:m4_IMGPATH:+ |
|
11 |
|
12 ################################################################ |
|
13 # Startup functions. |
|
14 |
|
15 # Define places for autoloaded programs. |
|
16 # StartsOnPage [desk [x y]] |
|
17 Style "mc-main1" StartsOnPage 0 1 0, SkipMapping |
|
18 Style "mc-main2" StartsOnPage 0 2 0, SkipMapping |
|
19 Style "goldendict" StartsOnPage 3 1 2, SkipMapping |
|
20 Style "XClock" !Title, Sticky, StaysOnTop, !Iconifiable, FixedPosition, FixedSize, WindowListSkip, CirculateSkip |
|
21 |
|
22 # Run only om sturtup. |
|
23 DestroyFunc InitFunction |
|
24 AddToFunc InitFunction |
|
25 + I Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ |
|
26 -name mc-main1 -geometry 136x42 -e bash -i -c "mc -x" |
|
27 + I Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ |
|
28 -name mc-main2 -geometry 136x42 -e bash -i -c "mc -x" |
|
29 + I Exec exec goldendict |
|
30 # Right offset: 80 from FvwmPager + 2*6 from border = 92. |
|
31 + I Exec exec xclock -digit -update 1 -strftime '%F %T %a' -padding 2 -geometry 165x18-92+0 -face Monospace-9 -bg gray |
|
32 |
|
33 # Run after each restart. |
|
34 DestroyFunc RestartFunction |
|
35 AddToFunc RestartFunction |
|
36 |
|
37 # Run at sturtup and after each restart. |
|
38 # All fvwm modules exit after restart Fvwm, so you must put they there. |
|
39 DestroyFunc StartFunction |
|
40 AddToFunc StartFunction |
|
41 # + I Module FvwmDebug --xconsole |
|
42 # + I KillModule FvwmDebug |
|
43 # + I Module FvwmGtkDebug |
|
44 # + I Module FvwmConsole |
|
45 + I Module FvwmPager 0 4 |
|
46 + I Module FvwmAuto 1 -menter enter_handler |
|
47 + I Module FvwmKbdd.pl |
|
48 # Add next to load desktop image (must be .xpm or .png) |
|
49 # + I Exec fvwm-root -r ~/tmp/MagicItemComp2_1280x1024.png |
11 |
50 |
12 ################################################################ |
51 ################################################################ |
13 # Virtual Desktops. |
52 # Virtual Desktops. |
14 |
53 |
15 DesktopSize 3x3 |
54 DesktopSize 3x3 |
17 DesktopName 1 Net |
56 DesktopName 1 Net |
18 DesktopName 2 Work |
57 DesktopName 2 Work |
19 DesktopName 3 Media |
58 DesktopName 3 Media |
20 DesktopName 4 Games |
59 DesktopName 4 Games |
21 # Percentage of a page to scroll when the cursor hits the edge of a page. |
60 # Percentage of a page to scroll when the cursor hits the edge of a page. |
22 # With 0 0 I cann't scroll to other page by hitting edge, but can move app to another page! |
61 # With 0 0 I can't scroll to other page by hitting edge, but can move app to another page! |
23 # With 100 100 by hitting edge I move to next page. |
62 # With 100 100 by hitting edge I move to next page. |
24 EdgeScroll 0 0 |
63 EdgeScroll 0 0 |
25 # Tells how hard it should be to change the desktop viewport by moving the mouse over the |
64 # Tells how hard it should be to change the desktop viewport by moving the mouse over the |
26 # edge of the screen and how hard it should be to move a window over the edge of the screen. |
65 # edge of the screen and how hard it should be to move a window over the edge of the screen. |
27 EdgeResistance 150 150 |
66 EdgeResistance 150 150 |
386 |
425 |
387 # Add the windows you want to autohide |
426 # Add the windows you want to autohide |
388 DestroyFunc enter_handler |
427 DestroyFunc enter_handler |
389 AddToFunc enter_handler |
428 AddToFunc enter_handler |
390 + I autohide FvwmPager 1000 N |
429 + I autohide FvwmPager 1000 N |
391 |
|
392 ################################################################ |
|
393 # Startup functions. |
|
394 |
|
395 # Define whare place autoloaded progs. |
|
396 # StartsOnPage [desk [x y]] |
|
397 Style "mc-main1" StartsOnPage 0 1 0, SkipMapping |
|
398 Style "mc-main2" StartsOnPage 0 2 0, SkipMapping |
|
399 Style "goldendict" StartsOnPage 3 1 2, SkipMapping |
|
400 Style "XClock" !Title, Sticky, StaysOnTop, !Iconifiable, FixedPosition, FixedSize, WindowListSkip, CirculateSkip |
|
401 |
|
402 # Run only om sturtup. |
|
403 DestroyFunc InitFunction |
|
404 AddToFunc InitFunction |
|
405 + I Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ |
|
406 -name mc-main1 -geometry 136x42 -e bash -i -c "mc -x" |
|
407 + I Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ |
|
408 -name mc-main2 -geometry 136x42 -e bash -i -c "mc -x" |
|
409 + I Exec exec goldendict |
|
410 # Right offset: 80 from FvwmPager + 2*6 from border = 92. |
|
411 + I Exec exec xclock -digit -update 1 -strftime '%F %T %a' -padding 2 -geometry 165x18-92+0 -face Monospace-9 -bg gray |
|
412 |
|
413 # Run after each restart. |
|
414 DestroyFunc RestartFunction |
|
415 AddToFunc RestartFunction |
|
416 |
|
417 # Run at sturtup and after each restart. |
|
418 # All fvwm modules exit after restart Fvwm, so you must put they there. |
|
419 DestroyFunc StartFunction |
|
420 AddToFunc StartFunction |
|
421 # + I Module FvwmDebug --xconsole |
|
422 # + I KillModule FvwmDebug |
|
423 # + I Module FvwmGtkDebug |
|
424 # + I Module FvwmConsole |
|
425 + I Module FvwmPager 0 4 |
|
426 + I Module FvwmAuto 1 -menter enter_handler |
|
427 + I Module FvwmKbdd.pl |
|
428 # Add next to load desktop image (must be .xpm or .png) |
|
429 # + I Exec fvwm-root -r ~/tmp/MagicItemComp2_1280x1024.png |
|