1 ##########################################################################
2 # FVWM - F? Virtual Window Manager, Version 2.x (fvwm2) Configuration File
5 dnl The file is in m4 format, use FvwmM4 module to read it
6 dnl like this: ModuleSynchronous FvwmM4 -lock main.m4
8 dnl This is to prevent FvwmM4 to shadow $HOME
16 dnl define(`SMALL_FONT_KOI8', `-*-fixed-medium-r-normal-*-*-100-*-*-*-*-koi8-r')
17 dnl define(`MEDIUM_FONT_KOI8', `-*-fixed-medium-r-normal-*-*-120-*-*-*-*-koi8-r')
18 dnl define(`BIG_FONT_KOI8', `-*-fixed-medium-r-normal-*-*-140-*-*-*-*-koi8-r')
21 dnl define(`SMALL_FONT_CP1251', `-*-fixed-medium-r-normal-*-*-100-*-*-*-*-*-cp1251')
22 dnl define(`MEDIUM_FONT_CP1251', `-*-fixed-medium-r-normal-*-*-120-*-*-*-*-*-cp1251')
23 dnl define(`BIG_FONT_CP1251', `-*-fixed-medium-r-normal-*-*-140-*-*-*-*-*-cp1251')
25 dnl define(`XBUFFY_FONT', `-cronyx-helvetica-bold-r-*-*-*-100-*-*-*-*-koi8-r')
29 define(`VERY_SMALL_FONT', `xft:Sans:size=10')
30 define(`SMALL_FONT', `xft:Sans:size=12')
31 define(`MEDIUM_FONT', `xft:Sans:size=14')
32 define(`BIG_FONT', `xft:Sans:size=16')
33 define(`LARGE_FONT', `xft:Sans:size=18')
34 define(`HUGE_FONT', `xft:Sans:size=20')
35 define(`GIGANTIC_FONT', `xft:Sans:size=22')
38 define(`SMALL_BOLD_FONT', SMALL_FONT`:Bold')
39 define(`MEDIUM_BOLD_FONT', MEDIUM_FONT`:Bold')
40 define(`BIG_BOLD_FONT', BIG_FONT`:Bold')
42 define(`TITLE_FONT', MEDIUM_FONT)
43 define(`ICON_FONT', LARGE_FONT)
45 dnl Font and geometry aliases that depend on whether the screen resolution is
46 dnl 800x600, 1024x768 or 1920x1200
49 ifelse(eval(WIDTH < 1024), 1, `365x100+0+0',
50 eval(WIDTH < 1920), 1, `365x100+0+0', `600x160+0+0'))
52 define(`SMALL_PAGER_FONT', ifelse(eval(WIDTH < 1920), 1, VERY_SMALL_FONT, SMALL_FONT))
53 define(`PAGER_FONT', ifelse(eval(WIDTH < 1920), 1, SMALL_FONT, BIG_FONT))
54 define(`BUTTONS_FONT', PAGER_FONT)
58 ifelse(eval(WIDTH < 1024), 1, BIG_FONT,
59 eval(WIDTH < 1920), 1, LARGE_FONT, GIGANTIC_FONT))
60 define(`IDENT_FONT', MENU_FONT)
61 define(`WIN_LIST_FONT', MENU_FONT)
62 define(`ICON_BOX_FONT', MENU_FONT)
65 dnl XSetBg message width and font
67 ifelse(eval(WIDTH < 1024), 1, 70,
68 eval(WIDTH < 1920), 1, 75, 80))
70 define(`MESSAGE_FONT', `Nimbus Sans L 18')
75 ifelse(eval(WIDTH < 1024), 1, `80x25',
76 eval(WIDTH < 1920), 1, `80x30', `80x32'))
78 define(`TERM_GEOM_BOTLT', TERM_GEOM`+0-0')
79 define(`TERM_GEOM_BOTRT', TERM_GEOM`-0-0')
81 define(`TERM_GEOM_BIG',
82 ifelse(eval(WIDTH < 1024), 1, `96x30',
83 eval(WIDTH < 1920), 1, `112x32+2-0', `119x32+1-0'))
86 define(`TERM', `urxvt')
87 define(`TERM_KOI8', `Exec LC_CTYPE=ru_RU.KOI8-R exec TERM')
88 define(`TERM_RU_UTF8', `Exec LC_CTYPE=ru_RU.UTF-8 exec TERM -name URxvt')
89 define(`TERM_EN_UTF8', `Exec LC_CTYPE=en_US.UTF-8 exec TERM -name URxvt')
90 define(`TERM_HEB_UTF8', `Exec LC_CTYPE=he_IL.UTF-8 exec TERM -name URxvt')
91 define(`TERM_KOI8_BOTLT', `TERM_KOI8 -geometry TERM_GEOM_BOTLT')
92 define(`TERM_RU_UTF8_BOTLT', `TERM_RU_UTF8 -geometry TERM_GEOM_BOTLT')
93 define(`TERM_KOI8_BOTRT', `TERM_KOI8 -geometry TERM_GEOM_BOTRT')
94 define(`TERM_RU_UTF8_BOTRT', `TERM_RU_UTF8 -geometry TERM_GEOM_BOTRT')
97 define(`SSH', `cgmem_nice 300 ssh -4')
99 define(`REMOTE_HOST_TERM', `$1 -e SSH $2')
101 define(`REMOTE_HOST_TERM_TITLE', `$1 -title $3 -n $3 -e SSH $2')
103 define(`REMOTE_HOST_KOI8',
104 REMOTE_HOST_TERM_TITLE(TERM_KOI8, $1, $2))
106 define(`REMOTE_SCREEN', `-t $1 exec screen -xRR -S default')
108 define(`REMOTE_HOST_KOI8_MENU',
109 "$2 (koi8)" REMOTE_HOST_KOI8($1, $2))
111 define(`REMOTE_HOST_KOI8_BOTLT',
112 REMOTE_HOST_TERM_TITLE(TERM_KOI8_BOTLT, $1, $2))
114 define(`REMOTE_HOST_KOI8_BOTRT',
115 REMOTE_HOST_TERM_TITLE(TERM_KOI8_BOTRT, $1, $2))
117 define(`REMOTE_HOST_KOI8_BOTLT_MENU',
118 "$2 (koi8,btlt)" REMOTE_HOST_KOI8_BOTLT($1, $2))
120 define(`REMOTE_HOST_KOI8_BOTRT_MENU',
121 "$2 (koi8,btrt)" REMOTE_HOST_KOI8_BOTRT($1, $2))
123 define(`REMOTE_HOST_UTF8',
124 REMOTE_HOST_TERM(TERM_RU_UTF8, $1))
126 define(`REMOTE_HOST_UTF8_MENU',
127 "$2 (utf8)" REMOTE_HOST_UTF8($1, $2))
129 define(`REMOTE_HOST_UTF8_BOTLT',
130 REMOTE_HOST_TERM(TERM_RU_UTF8_BOTLT, $1))
132 define(`REMOTE_HOST_UTF8_BOTRT',
133 REMOTE_HOST_TERM(TERM_RU_UTF8_BOTRT, $1))
135 define(`REMOTE_HOST_UTF8_BOTLT_MENU',
136 "$2 (utf8,btlt)" REMOTE_HOST_UTF8_BOTLT($1, $2))
138 define(`REMOTE_HOST_UTF8_BOTRT_MENU',
139 "$2 (utf8,btrt)" REMOTE_HOST_UTF8_BOTRT($1, $2))
141 define(`REMOTE_HOST_KOI8_BIG',
142 TERM_KOI8 -geometry TERM_GEOM_BIG -title "$2" -n "$2" -e SSH "$1")
144 define(`REMOTE_HOST_KOI8_BIG_MENU',
145 "$2 (koi8)" REMOTE_HOST_KOI8_BIG($1, $2))
149 ##########################################################################
152 # Colon seperated unix directory paths for Modules, xpm files, and bitmaps
153 #ModulePath /usr/lib/fvwm
154 ImagePath /usr/share/pixmaps/fvwm:/usr/share/pixmaps:/usr/include/X11/bitmaps #:/usr/local/firefox/browser/chrome/icons/default:/usr/local/firefox/browser/icons
156 ############################################################################
159 # Set the fore and back border colors for the window that has focus
160 Style * HilightFore Black, HilightBack #c06077
162 # Set fore/back border colors for all other windows
163 Style * Color Black/#60a0c0
165 # Set colors/font for pop-up menus
166 # Syntax: MenuStyle forecolor backcolor shadecolor font style(fvwm/mwm)
167 MenuStyle * FVWM, Foreground Black, Background grey, Greyed SlateGrey, Font MENU_FONT
169 # Set fonts to use on title bar and icon label
170 Style * Font TITLE_FONT
172 ############################################################################
175 # If you don't want icons for some or all windows (or all of them!)
178 # If you want ALL icons to follow you around the desktop (Sticky)
181 # Auto Place Icons is a nice feature (Left Top Right Bottom)
182 #Style * IconBox 10 -75 -10 -0
184 Style * IconFont ICON_FONT
186 ############################################################################
189 # Does the window with focus control the colormap, or the one under the mouse
190 ColormapFocus FollowsMouse
192 # Uncomment this to force you to click in a window to give it focus
193 #Style * ClickToFocus
195 # default: focus follows mouse
197 #Style * FocusFollowsMouse
199 # If you knock your mouse out of the term, it keeps focus while in root window
202 ############################################################################
205 # click/release must occur in <n milliseconds to be a "click"
208 # if the window occupies less than n% of the screen, draw it opaque
211 # Do not flip pages on the edge of the screen, but allow to move windows
214 Style * EdgeMoveDelay 500
215 Style * EdgeMoveResistance 100
217 # MWM Emulation: Don't ignore hints for functions and transient decoration
218 #Style * MWMFunctions, MWMDecor, MWMButtons, MWMMenus
219 Style * MWMFunctions, MWMDecor, MWMButtons
221 # Changes the look of the "rubberband" you see when moving windows (0 - 255)
224 ###########################################################################
227 # set the desk top size in units of physical screen size (width x height)
230 ############################################################################
233 Style * PositionPlacement Center
235 ############################################################################
238 # (decorations and window options)
239 # Note: Order is important!! If compatible styles are set, styles are ORed
240 # together. If conflicting styles are set, the last one specified is used.
242 # change the default width, set a global icon, and give borders to popups
243 Style * BorderWidth 5, HandleWidth 5, Icon unknown1.xpm
244 Style * DecorateTransient, ClickToFocusRaisesOff
246 Style "Fvwm*" !Title, Sticky, WindowListSkip
247 Style "FvwmButtons" !Handles, BorderWidth 0, Layer 2
248 Style "FvwmPager" Layer 2
251 Style "*term" Icon term.xpm
252 Style "*rxvt" Icon term.xpm
253 Style "term-im-local" Icon pidgin-menu.xpm
254 Style "term-im-remote" Icon rcalc2.xpm
255 Style "term-im-*" IconBox 630 -75 -2 -2, IconGrid 200 80
256 Style "term-im-*" StartsOnPage 1 1 0, StartIconic
259 Style "Certificate Manager" PositionPlacement Center
260 Style "*Downloads" PositionPlacement 50-50w +5
261 Style "*Mozilla*" PositionPlacement +0 -0
263 Style "*Chromium*" PositionPlacement +0 -0
266 Style "Gajim" PositionPlacement +0 -0
267 Style "* - Gajim" MinOverlapPercentPlacement
269 Style "Buddy List" PositionPlacement +0 -0
270 Style "*Pidgin*" MinOverlapPercentPlacement
273 Style "*MPlayer*" Layer 6, PositionPlacement 250p 100p
274 Style "*mpv" Layer 6, PositionPlacement 250p 100p
276 Style "*clock" !Title, Sticky, WindowListSkip, Color Black/#40c040, NeverFocus, PositionPlacement 50-50w +1p, Layer 2
277 Style "emacs" NoPPosition
278 Style "gxmessage" PositionPlacement 50-50w +20
279 Style "*lock" !Title, Sticky, WindowListSkip
280 Style "Mosaic" NoPPosition
281 Style "xbiff" Icon mail1.xpm, !Title, Sticky, WindowListSkip
282 Style "xcalc" Icon xcalc.xpm
283 Style "xconsole" !Title, Sticky, WindowListSkip, NeverFocus
284 Style "xload" !Title, Sticky, WindowListSkip, NeverFocus
285 Style "xman" Icon xman.xpm
286 Style "xmh" Icon mail2.xpm
287 Style "xsession" !Title, Sticky, WindowListSkip, ClickToFocus
288 Style "XXkb" !Title, !Borders, Sticky, WindowListSkip, Layer 5
290 ############################################################################
294 ## Buttons actually being used (duplicated below)
296 #ButtonStyle 2 4 50x35@1 65x65@0 35x65@0 50x35@1
297 # small down triangle
298 #ButtonStyle 4 4 50x65@1 35x35@1 65x35@1 50x65@0
300 #ButtonStyle 3 16 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 80x30@0 60x50@0 80x80@0 70x80@0 50x60@0 30x80@0 20x80@0 20x70@0 40x50@1 20x30@0 20x20@1
305 # ButtonStyle * 4 50x35@1 65x65@0 35x65@0 50x35@1
306 # Small down Triangle
307 #ButtonStyle * 4 50x65@1 35x35@1 65x35@1 50x65@0
309 #ButtonStyle 6 4 50x25@1 75x75@0 25x75@0 50x25@1
310 # Large down Triangle
311 #ButtonStyle 8 4 50x75@1 25x25@1 75x25@1 50x75@0
316 ButtonStyle 4 5 25x25@1 25x75@1 75x75@0 75x25@0 25x25@1
318 ButtonStyle 5 5 40x40@1 60x40@1 60x60@0 40x60@0 40x40@1
320 #ButtonStyle 7 5 40x25@1 60x25@1 60x75@0 40x75@0 40x25@1
322 #ButtonStyle 5 5 45x45@1 55x45@1 55x55@0 45x55@0 45x45@1
323 # Big Box with arrow (left-up to right-down) to little box (iconify)
324 #ButtonStyle 6 14 20x20@1 20x70@1 70x70@0 70x20@0 20x20@1 60x60@0 60x50@0 60x60@0 50x60@0 60x60@0 60x80@0 80x80@0 80x60@0 60x60@0
325 # Big Box with arrow (right-up to left-down) to little box (iconify)
326 ButtonStyle 6 14 70x20@0 70x70@0 20x70@1 20x20@1 70x20@1 30x60@0 30x50@0 30x60@0 40x60@0 30x60@0 30x80@0 10x80@0 10x60@0 30x60@0
331 #ButtonStyle 3 17 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 80x30@0 60x50@0 80x70@1 80x80@0 70x80@0 50x60@0 30x80@0 20x80@0 20x70@0 40x50@1 20x30@0 20x20@1
332 ButtonStyle 2 17 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 80x30@0 60x50@0 80x70@1 80x80@0 70x80@0 50x60@0 30x80@0 20x80@0 20x70@0 40x50@1 20x30@0 20x20@1
334 #ButtonStyle 3 13 26x29@1 34x21@1 50x35@1 70x21@1 79x29@1 63x48@0 79x65@1 70x75@0 50x61@0 34x75@0 26x65@0 44x48@1 26x29@0
336 #ButtonStyle 3 16 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 80x30@0 60x50@0 80x80@0 70x80@0 50x60@0 30x80@0 20x80@0 20x70@0 40x50@1 20x30@0 20x20@1
340 # Small Lightning Bolt (skinny at both ends)
341 #ButtonStyle 5 7 70x15@0 30x55@1 50x55@0 40x85@1 80x45@0 60x45@1 70x15@0
342 # Big Lighting Bolt (Fat at top, comes to a point)
343 #ButtonStyle 6 8 35x15@1 20x50@1 40x50@0 30x80@1 75x40@0 50x40@1 75x15@0 35x15@1
345 ## Miscellaneous Buttons
347 # Nested Right Angles (looks kinda crappy)
348 #ButtonStyle 5 13 10x0@1 80x0@1 80x10@1 80x80@0 0x80@0 0x60@1 10x65@1 70x65@0 70x0@0 55x0@1 55x10@1 55x55@0 10x55@0
349 # Nested Right Angles (looks nice)
350 #ButtonStyle 6 14 0x0@1 0x20@1 20x20@0 20x0@0 0x0@1 0x25@1 25x25@1 25x0@1 55x0@1 55x55@0 0x55@0 0x60@1 60x60@1 60x0@1
351 # 4 Horizontal bars (sticky)
352 #ButtonStyle 7 12 10x23@0 90x23@0 90x28@0 10x28@1 10x47@1 90x47@0 90x52@0 10x52@1 10x70@2 90x70@0 90x76@0 10x76@1
353 ButtonStyle 3 12 10x23@0 90x23@0 90x28@0 10x28@1 10x47@1 90x47@0 90x52@0 10x52@1 10x70@2 90x70@0 90x76@0 10x76@1
354 # Expanding Windows (iconify -- looks NICE)
355 #ButtonStyle 8 16 60x40@1 60x80@0 15x80@0 15x40@1 60x40@1 40x40@1 40x25@1 75x25@1 75x60@0 60x60@0 75x60@0 75x40@0 85x40@0 85x15@0 60x15@1 60x25@1
360 #ButtonStyle 3 8 40x80@1 40x50@1 20x50@1 50x20@1 80x50@0 60x50@0 60x80@0 40x80@0
362 #ButtonStyle 3 8 40x20@1 40x50@1 20x50@1 50x80@1 80x50@0 60x50@0 60x20@0 40x20@1
364 #ButtonStyle 7 8 80x40@1 50x40@1 50x20@1 20x50@1 50x80@0 50x60@0 80x60@0 80x40@0
366 #ButtonStyle 8 8 20x40@1 50x40@1 50x20@1 80x50@1 50x80@0 50x60@0 20x60@0 20x40@1
367 # Horizontal Line with arrowheads on left and right ( <-> )
368 #ButtonStyle * 12 10x50@1 35x25@1 35x40@1 65x40@1 65x25@1 90x50@1 65x75@0 65x60@0 35x60@0 35x75@0 10x50@0 10x50@1
369 # Vertical Line with arrowheads on top and bottom
370 #ButtonStyle * 12 50x10@1 25x35@1 40x35@1 40x60@1 25x60@1 50x85@1 75x60@0 60x60@0 60x35@0 75x35@0 50x10@0 50x10@1
371 # Diagonal Line with arrowheads on top and bottom ( / )
372 #ButtonStyle 5 11 80x15@1 45x15@1 55x25@1 25x55@1 15x45@1 15x80@1 50x80@0 40x70@0 70x40@0 80x50@0 80x15@0
373 # Diagonal Line with arrowheads on top and bottom ( \ )
374 #ButtonStyle 6 12 55x15@0 45x25@0 75x55@0 85x45@0 85x80@0 50x80@0 60x70@1 30x40@1 20x50@1 20x15@1 55x15@1 55x15@0
377 #ButtonStyle 8 12 80x80@0 22x80@0 80x40@0 70x25@0 30x25@0 20x35@0 20x30@1 30x20@1 70x20@1 80x30@1 20x75@1 80x75@1
379 ############################################################################
382 # First, the root window. Button 1 brings up the Main Menu. B2 is the
383 # window operations list, and B3 is the winlist module
384 # Button Context Modifi Function
385 Mouse 1 R A Menu RootMenu Nop
386 Mouse 2 R A Menu Window-Ops Nop
387 Mouse 3 R A WindowList
389 # Now, title bar buttons
390 # Left button is the Window-Ops2 menu
391 # Button Context Modifi Function
392 Mouse 0 1 A Menu Window-Ops2 Close
395 # Right buttonsare iconify/maximize, rightmost is close
397 Mouse 0 4 A Maximize toggle
400 # Button 1 in Frame or Sides is a resize-or-raise, in Icons is a move or
401 # de-iconify, and on Top does a move-or-raise
402 # Button Context Modifi Function
403 Mouse 1 F A Resize-or-Raise
404 Mouse 1 S A Move-or-Raise
405 Mouse 1 I A Move-or-Iconify
406 #Mouse 1 T A Move-or-Raise
409 # Button 2 in an Icon is de-iconify, in Corners/Sides/Titlebar gets Ops Menu
410 # Button Context Modifi Function
412 Mouse 2 FST A Menu Window-Ops2 Nop
414 # Button 3 does a raise-lower on anything
415 Mouse 3 TSIF A RaiseLower
417 ############################################################################
421 # press arrow + control + meta anywhere, and scroll by 1 page
422 Key Left A CM Scroll -100 +0
423 Key Right A CM Scroll +100 +0
424 Key Up A CM Scroll +0 -100
425 Key Down A CM Scroll +0 +100
427 # press arrow + meta key, and scroll by 1/10 of a page
428 Key Left A M Scroll -10 +0
429 Key Right A M Scroll +10 +0
430 Key Up A M Scroll +0 -10
431 Key Down A M Scroll +0 +10
433 # press shift arrow + control anywhere, and move the pointer by 1% of a page
434 Key Left A SC CursorMove -1 +0
435 Key Right A SC CursorMove +1 +0
436 Key Up A SC CursorMove +0 -1
437 Key Down A SC CursorMove +0 +1
439 # press shift arrow + meta key, and move the pointer by 1/10 of a page
440 Key Left A SM CursorMove -10 +0
441 Key Right A SM CursorMove +10 +0
442 Key Up A SM CursorMove +0 -10
443 Key Down A SM CursorMove +0 +10
445 # Switch window, mswindows style :)
446 Key Tab A M Next [*] focus
447 Key Escape A M Prev [*] focus
454 Key 5 A CM GotoPage 0 0
455 Key 6 A CM GotoPage 1 0
456 Key 7 A CM GotoPage 0 1
457 Key 8 A CM GotoPage 1 1
459 #############################################################################
462 DestroyFunc InitFunction
463 AddToFunc InitFunction
464 + I Module FvwmBacker
465 + I Module FvwmButtons
466 + I Module FvwmCommandS
467 + I Module FvwmPager 0 2
469 DestroyFunc RestartFunction
470 AddToFunc RestartFunction
471 + I Module FvwmBacker
472 + I Module FvwmButtons
473 + I Module FvwmCommandS
474 + I Module FvwmPager 0 2
475 + I Schedule 1000 Raise-All
477 DestroyFunc UrgencyFunc
478 AddToFunc UrgencyFunc
480 + I ThisWindow ("*Downloads") Break
483 + I WarpToWindow 5p 5p
485 DestroyFunc StartStandardSession
486 AddToFunc StartStandardSession
487 + I GotoDeskAndPage 0 0 0
490 + I GotoDeskAndPage 0 0 1
491 + I TERM_RU_UTF8 -geometry 38x30+0-0
493 + I Exec exec cgmem_nice 200 pulseaudio --start
495 + I Exec exec "$HOME"/current/projects/audio-cdr-video/audio/pa-mic-off
498 + I GotoDeskAndPage 2 0 1
499 + I TERM_KOI8 -geometry TERM_GEOM_BIG
503 DestroyFunc ResumeFunction
504 AddToFunc ResumeFunction
505 + I GotoDeskAndPage 0 0 0
508 + I Exec exec cgmem_nice 200 pulseaudio --start
509 + I None ("Volume Control") PaVuControl
510 + I Exec sleep 10; exec "$HOME"/current/projects/audio-cdr-video/audio/pa-mic-off
513 + I Any ("*Mozilla Firefox") GotoDeskAndPage 0 0 0
514 + I TestRc (Match) Break
515 + I None ("*Mozilla Firefox") FireFox
517 ############################################################################
521 AddToFunc Center I Move 50-50w 50-50w
522 + I WarpToWindow 74p 18p
524 DestroyFunc Iconify-and-Raise
525 AddToFunc Iconify-and-Raise I Iconify
528 DestroyFunc Maximize-Func
529 AddToFunc Maximize-Func C Maximize toggle
532 DestroyFunc Move-or-Iconify
533 AddToFunc Move-or-Iconify I Raise
537 DestroyFunc Move-or-Raise
538 AddToFunc Move-or-Raise I Raise
542 DestroyFunc Move-or-Raise2
543 AddToFunc Move-or-Raise2 M Raise
547 DestroyFunc Resize-or-Raise
548 AddToFunc Resize-or-Raise I Raise
552 DestroyFunc Resize-or-Raise2
553 AddToFunc Resize-or-Raise2 M Raise
558 AddToFunc Shadify D WindowShade
562 DestroyFunc warp-or-run
563 AddToFunc warp-or-run I Next [$0 CirculateHit] Iconify -1
564 + I Next [$0 CirculateHit] Focus
567 DestroyFunc MailFunction
568 AddToFunc MailFunction I Next [$0] Iconify -1
570 + I None [$0] Exec exec $0 $1
572 DestroyFunc PrintFunction
573 AddToFunc PrintFunction I Raise
574 + I Exec exec xdpr -id $w
576 DestroyFunc Raise-All
577 AddToFunc Raise-All I All Raise
579 ##############################################################################
580 # User-defined functions
583 DestroyFunc PaVuControl
584 AddToFunc PaVuControl I GotoDeskAndPage 0 1 1
585 + I Exec exec cgmem_nice 200 pavucontrol
586 + I Wait "Volume Control"
590 AddToFunc Id3Info I Exec "$HOME"/lib/audio/mp3/id3info.py "`audtool --current-song-filename`" | text-wrap.py | gxmessage -buttons Ok -default Ok -fn 'MESSAGE_FONT' -file -
591 changequote([`], ['])
593 DestroyFunc AudioPlayer
594 AddToFunc AudioPlayer I GotoDeskAndPage 0 1 1
595 + I Exec LC_CTYPE=ru_RU.KOI8-R exec cgmem_nice 200 audacious
597 DestroyFunc Term-Iskra
598 AddToFunc Term-Iskra I GotoDeskAndPage 1 1 2
599 + I REMOTE_HOST_KOI8(REMOTE_SCREEN(iskra-aviel.phdru.name), iskra)
601 DestroyFunc Term-Iskra-Big
602 AddToFunc Term-Iskra-Big I GotoDeskAndPage 1 1 2
603 + I REMOTE_HOST_KOI8_BIG(iskra-aviel.phdru.name, ISKRA)
605 DestroyFunc Term-Oper
606 AddToFunc Term-Oper I GotoDeskAndPage 1 1 2
607 + I REMOTE_HOST_KOI8_BOTRT(REMOTE_SCREEN(oper.med.ru), oper)
609 DestroyFunc Term-Oper-Big
610 AddToFunc Term-Oper-Big I GotoDeskAndPage 1 1 2
611 + I REMOTE_HOST_KOI8_BIG(oper.med.ru, OPER)
613 DestroyFunc Term-Phdru
614 AddToFunc Term-Phdru I GotoDeskAndPage 1 0 1
615 + I REMOTE_HOST_KOI8(REMOTE_SCREEN(phdru.name), phdru.name)
617 DestroyFunc Term-Phdru-Big
618 AddToFunc Term-Phdru-Big I GotoDeskAndPage 1 0 1
619 + I REMOTE_HOST_KOI8_BIG(phdru.name, phdru.name)
622 AddToFunc FireFox I Any ("*Mozilla Firefox") Break
623 + I GotoDeskAndPage 1 0 0
624 + I Exec LC_CTYPE=ru_RU.KOI8-R exec cgmem_nice 4000 start-browser firefox
625 + I Wait "*Mozilla Firefox"
626 + I Exec LC_CTYPE=ru_RU.KOI8-R exec cgmem_nice 4000 firefox --new-window
627 + I Wait "*Mozilla Firefox"
628 + I Next ("*Mozilla Firefox") Iconify true
631 AddToFunc Gajim I GotoDeskAndPage 1 1 0
632 + I Exec exec cgmem_nice 300 gajim
635 AddToFunc Pidgin I GotoDeskAndPage 1 1 0
636 + I Exec exec cgmem_nice 300 pidgin
638 DestroyFunc XFilename
639 AddToFunc XSetbgFilename I Exec "$HOME"/current/projects/xsetbg/print-filename.py | text-wrap.py -w TEXT_WIDTH -s | gxmessage -buttons Ok -default Ok -fn 'MESSAGE_FONT' -file -
641 ##############################################################################
645 # This defines the most common window operations
646 AddToMenu Window-Ops "Window Ops" Title
648 + "Move" Move-or-Raise2
649 + "Resize" Resize-or-Raise2
652 + "(De)Iconify" Iconify
654 + "(Un)Maximize" maximize_func
660 + "Refresh Screen" Refresh
662 # A trimmed down version of "Window Ops", good for binding to decorations
663 DestroyMenu Window-Ops2
664 AddToMenu Window-Ops2 "Center" Center
665 + "Move" Move-or-Raise
668 + "Refresh" RefreshWindow
674 + "Resize" Resize-or-Raise
675 + "Shade" WindowShade
676 + "Raise/Lower" RaiseLower
678 + "ScrollBar" Module FvwmScroll 2 2
679 + "Print" PrintFunction
681 AddToMenu Terminals "Terminals" Title
682 + "Grey term (koi8)" TERM_KOI8
683 + "Grey term (utf8)" TERM_RU_UTF8
684 + "Grey term (heb-utf8)" TERM_HEB_UTF8
685 + "Grey term (koi8,btlt)" TERM_KOI8_BOTLT
686 + "Grey term (koi8,btrt)" TERM_KOI8_BOTRT
687 + "Grey term (utf8,btlt)" TERM_RU_UTF8_BOTLT
688 + "Grey term (utf8,btrt)" TERM_RU_UTF8_BOTRT
689 + "Big grey term (koi8)" TERM_KOI8 -geometry TERM_GEOM_BIG
690 + "Big grey term (utf8)" TERM_RU_UTF8 -geometry TERM_GEOM_BIG
692 + "White/black term (koi8)" TERM_KOI8 -fg white -cr white -bg black
693 + "White/black term (utf8)" TERM_RU_UTF8 -fg white -bg black
695 AddToMenu TermColors "Term Colors" Title
696 + "Term: black/mediumturquoise" TERM_KOI8 -fg black -cr black -bg mediumturquoise
697 + "Term: black/lightseagreen" TERM_KOI8 -fg black -cr black -bg lightseagreen
699 + "Term: black/lightsteelblue" TERM_KOI8 -fg black -cr black -bg lightsteelblue
700 + "Term: black/lightblue3" TERM_KOI8 -fg black -cr black -bg lightblue3
702 + "Term: black/lightgoldenrod" TERM_KOI8 -fg black -cr black -bg lightgoldenrod
703 + "Term: black/rosybrown1" TERM_KOI8 -fg black -cr black -bg rosybrown1
704 + "Term: black/pink1" TERM_KOI8 -fg black -cr black -bg pink1
706 + "Term: white/orchid4" TERM_KOI8 -fg white -cr white -bg orchid4
707 + "Term: white/purple3" TERM_KOI8 -fg white -cr white -bg purple3
708 + "Term: white/purple4" TERM_KOI8 -fg white -cr white -bg purple4
710 + "Term: white/lightslategrey" TERM_KOI8 -fg white -cr white -bg lightslategrey
711 + "Term: white/navyblue" TERM_KOI8 -fg white -cr white -bg navyblue
712 + "Term: white/mediumblue" TERM_KOI8 -fg white -cr white -bg mediumblue
713 + "Term: white/steelblue" TERM_KOI8 -fg white -cr white -bg steelblue
715 + "Term: white/forestgreen" TERM_KOI8 -fg white -cr white -bg forestgreen
716 + "Term: white/rosybrown" TERM_KOI8 -fg white -cr white -bg rosybrown
717 + "Term: white/deeppink" TERM_KOI8 -fg white -cr white -bg deeppink
718 + "Term: white/black" TERM_KOI8 -fg white -cr white -bg black
720 AddToMenu Systems "Systems" Title
721 + REMOTE_HOST_KOI8_MENU(REMOTE_SCREEN(iskra-aviel.phdru.name), iskra)
722 + REMOTE_HOST_UTF8_BOTLT_MENU(iskra-aviel.phdru.name, iskra)
723 + REMOTE_HOST_KOI8_BIG_MENU(iskra-aviel.phdru.name, ISKRA)
725 + REMOTE_HOST_KOI8_BOTRT_MENU(REMOTE_SCREEN(oper.med.ru), oper)
726 + REMOTE_HOST_UTF8_BOTRT_MENU(oper.med.ru, oper)
727 + REMOTE_HOST_KOI8_BIG_MENU(oper.med.ru, OPER)
729 + REMOTE_HOST_KOI8_MENU(REMOTE_SCREEN(phdru.name), phdru)
730 + REMOTE_HOST_UTF8_BOTLT_MENU(phdru.name, phdru)
731 + REMOTE_HOST_KOI8_BIG_MENU(phdru.name, PHDRU)
733 AddToMenu FvwmCommands "Fvwm Commands" Title
735 + "Raise all" Raise-All
736 #+ "Restart Fvwm2" Restart fvwm2
737 #+ "Start Fvwm" Restart fvwm
738 + "Fvwm Setup" Popup FvwmSetup
739 + "Fvwm Modules" Popup FvwmModules
743 AddToMenu FvwmSetup "Fvwm Setup" Title
744 + "Start standard session" StartStandardSession
745 + "Change Scrolling" Popup FvwmScroll
747 AddToMenu FvwmScroll "Change Scroll Behavior" Title
748 + "OFF" EdgeScroll 0 0
749 + "ON" EdgeScroll 100 100
750 + "Horizontal Only" EdgeScroll 100 0
751 + "Vertical Only" EdgeScroll 0 100
752 + "Partial" EdgeScroll 50 50
754 AddToMenu FvwmModules "Fvwm Modules" Title
755 + "Animate" Module FvwmAnimate
756 + "Auto" Module FvwmAuto
757 + "Backer" Module FvwmBacker
758 + "Banner" Module FvwmBanner
759 + "Buttons" Module FvwmButtons
760 + "Cascade" Module FvwmCascade
761 + "CommandS" Module FvwmCommandS
762 + "Console" Module FvwmConsole
763 + "ConsoleC" Module FvwmConsoleC -e FvwmConsoleC.pl
764 + "Cpp" Module FvwmCpp
765 + "Debug" Module FvwmDebug
766 + "DragWell" Module FvwmDragWell
767 + "Event" Module FvwmEvent
768 + "Form" Module FvwmForm
769 + "Gtk" Module FvwmGtk
770 + "IconBox" Module FvwmIconBox
771 + "IconMan" Module FvwmIconMan
772 + "Ident" Module FvwmIdent
774 + "Pager" Module FvwmPager 0 2
775 + "Rearrange" Module FvwmRearrange
776 + "Save" Module FvwmSave
777 + "SaveDesk" Module FvwmSaveDesk
778 + "Script" Module FvwmScript
779 + "Scroll" Module FvwmScroll
780 + "TaskBar" Module FvwmTaskBar
781 + "Theme" Module FvwmTheme
782 + "Tile" Module FvwmTile
783 + "Wharf" Module FvwmWharf
784 + "WinList" Module FvwmWinList
786 # This is the root menu
787 AddToMenu RootMenu "Root Menu" Title
788 + "Terminals" Popup Terminals
789 #+ "Color term" Popup TermColors
790 + "Systems" Popup Systems
792 + "Browsers" Popup Browsers
793 + "Utilities" Popup Utilities
795 #+ "Lock Screen" Popup XlockMenu
796 + "XScreenSaver" Popup XScreenSaverMenu
797 #+ "Tv-tuner" Popup Tv-tuner
799 + "XSetBg" Popup XSetBgMenu
800 + "Fvwm Commands" Popup FvwmCommands
802 # This menu will fire up some often used programs
803 DestroyMenu Utilities
804 AddToMenu Utilities "Choose one:" Title
805 + "qPDFview" Exec LC_CTYPE=ru_RU.KOI8-R exec qpdfview
806 + "FBReader" Exec LC_CTYPE=ru_RU.KOI8-R exec fbreader
808 + "GVim (koi8)" Exec LC_CTYPE=ru_RU.KOI8-R exec gvim
809 + "GVim (utf8)" Exec LC_CTYPE=ru_RU.UTF-8 exec gvim
811 #+ "XFortune" Exec /usr/games/fortune | gxmessage -buttons Ok -default Ok -fn 'MESSAGE_FONT' -file -
812 #+ "xbuffy" Exec exec xbuffy -fn 'XBUFFY_FONT' -geometry +0+125 -boxfile mail/misc/.xbuffyrc
814 + "pavucontrol" PaVuControl
815 + "AudioPlayer" AudioPlayer
821 + "xload" Exec exec xload -geometry =136x136+0+0
822 + "Top" TERM_KOI8 -T Top -n Top -e top
824 + "Refresh Screen" Refresh
825 + "xrefresh" Exec exec xrefresh
827 #+ "xcalc" Exec exec xcalc
828 + "xclipboard" Exec exec xclipboard
829 + "xcutsel" Exec exec xcutsel
830 #+ "xman" Exec exec xman -notopbox -geometry +150+102
831 #+ "emacs" Exec emacs -geometry 81x35+150+34
832 #+ "xv" Function warp-or-run xv "Exec exec xv -ncols 240 -geometry +0+0"
835 AddToMenu Browsers "Choose one:" Title
837 + "Chromium" None ("*Chromium") Exec LC_CTYPE=ru_RU.KOI8-R exec cgmem_nice 2000 start-browser chromium
838 + "Opera" None ("*Opera") Exec LC_CTYPE=ru_RU.KOI8-R exec cgmem_nice 2000 start-browser opera
840 # A wide variety of screenlocking options...
841 #AddToMenu XlockMenu "Choose one:" Title
842 #+ "Hop" Exec exec xlock -mode hop
843 #+ "Image" Exec exec xlock -mode image
844 #+ "Life" Exec exec xlock -mode life
845 #+ "Flame" Exec exec xlock -mode flame
846 #+ "Pyro" Exec exec xlock -mode pyro
847 #+ "Qix" Exec exec xlock -mode qix
848 #+ "Rotor" Exec exec xlock -mode rotor
849 #+ "Swarm" Exec exec xlock -mode swarm
851 #+ "Random" Exec exec xlock -mode random
852 #+ "Blank" Exec exec xlock -mode blank
854 AddToMenu XScreenSaverMenu "Choose mode:" Title
855 + "Blank Screen Now" Exec exec xscreensaver-command -activate
856 + "Lock Screen Now" Exec exec xscreensaver-command -lock
857 + "Screen Saver Demo" Exec exec xscreensaver-command -demo
858 + "Screen Saver Preferences" Exec exec xscreensaver-command -prefs
859 + "Reinitialize Screen Saver" Exec exec xscreensaver-command -restart
861 + "Kill Screen Saver" Exec exec xscreensaver-command -exit
862 + "Launch Screen Saver" Exec exec xscreensaver
864 AddToMenu XSetBgMenu "XSetBg" Title
865 + "Change wallpaper" Exec exec "$HOME"/current/projects/xsetbg/xsetbg-force
866 + "Start" Exec exec cgmem_nice 100 "$HOME"/current/projects/xsetbg/xsetbg-http-start
867 + "Stop" Exec exec "$HOME"/current/projects/xsetbg/xsetbg-http-stop
868 + "Restart" Exec exec "$HOME"/current/projects/xsetbg/xsetbg-http-restart
871 + "Xli" Exec fn="`$HOME/current/projects/xsetbg/print-filename.py -e koi8-r`" && exec xli -title "`echo $fn | sed 's/ /_/g'`" "$fn"
872 + "Xli (scaled)" Exec fn="`$HOME/current/projects/xsetbg/print-filename.py -e koi8-r`" && exec xli -title "`echo $fn | sed 's/ /_/g'`" -zoom auto "$fn"
873 + "Open in browser" Exec exec webbrowserX -n "`$HOME/current/projects/xsetbg/print-filename.py -e koi8-r`"
874 + "Filename" Exec exec "$HOME"/current/projects/xsetbg/print-filename.py -e koi8-r
875 + "XFilename" Exec "$HOME"/current/projects/xsetbg/print-filename.py | text-wrap.py | gxmessage -buttons Ok -default Ok -fn 'MESSAGE_FONT' -file -
876 + "XFilename (wrapped)" XSetbgFilename
878 + "Xli (prev.)" Exec fn="`$HOME/current/projects/xsetbg/print-filename.py -e koi8-r 1`" && exec xli -title "`echo $fn | sed 's/ /_/g'`" "$fn"
879 + "Xli (prev., scaled)" Exec fn="`$HOME/current/projects/xsetbg/print-filename.py -e koi8-r 1`" && exec xli -title "`echo $fn | sed 's/ /_/g'`" -zoom auto "$fn"
880 + "Open in browser (prev.)" Exec exec webbrowserX -n "`$HOME/current/projects/xsetbg/print-filename.py -e koi8-r 1`"
881 changequote([`], ['])
882 + "Filename (prev.)" Exec exec "$HOME"/current/projects/xsetbg/print-filename.py -e koi8-r 1
883 + "XFilename (prev.)" Exec "$HOME"/current/projects/xsetbg/print-filename.py 1 | text-wrap.py | gxmessage -buttons Ok -default Ok -fn 'MESSAGE_FONT' -file -
884 + "XFilename (prev., wrapped)" Exec "$HOME"/current/projects/xsetbg/print-filename.py 1 | text-wrap.py -w TEXT_WIDTH -s | gxmessage -buttons Ok -default Ok -fn 'MESSAGE_FONT' -file -
886 ############################################################################
889 #*FvwmBacker: Command (Desk 0, Page * *) -solid DarkCyan
890 #*FvwmBacker: Command (Desk 1, Page * *) -solid steelblue
891 #*FvwmBacker: Command (Desk 2, Page * *) -solid midnightblue
892 *FvwmBacker: Command (Desk *, Page * *) Exec exec "$HOME"/current/projects/xsetbg/xsetbg-http-change
894 ############################################################################
898 *FvwmButtons: Fore Black
899 *FvwmButtons: Back rgb:90/80/90
902 *FvwmButtons: Font BUTTONS_FONT
904 # Geometry-- really likes to pick its own size, but giving a position is OK
905 *FvwmButtons: Geometry -1+1
907 # Layout: specify rows or columns, not both
908 *FvwmButtons: Rows 2 #, Columns 5
910 # Transparent background
911 #*FvwmButtons: Pixmap none
913 #*FvwmButtons: Pixmap fvwm.xpm
915 # Define the buttons to use.....
916 #*FvwmButtons: Move arrows2.xpm Move
917 #*FvwmButtons: Kill skull.xpm Destroy
918 #*FvwmButtons: Quit nuke.xpm Popup "Quit-Verify"
920 #*FvwmButtons: (Swallow XClock 'Exec exec xclock -update 1 -geometry -3000-3000')
923 pushdef(`TERM_KOI8', `Exec "TERM" LC_CTYPE=ru_RU.KOI8-R exec TERM')
924 pushdef(`TERM_RU_UTF8', `Exec "URxvt" LC_CTYPE=ru_RU.UTF-8 exec TERM -name URxvt')
925 *FvwmButtons: (Title Term, Icon rterm2.xpm, Action TERM_KOI8)
926 *FvwmButtons: (Title UTF-8, Icon rterm2.xpm, Action TERM_RU_UTF8)
927 *FvwmButtons: (Title phdru, Icon xterm-sgi.xpm, Action REMOTE_HOST_KOI8(REMOTE_SCREEN(-D 1080 phdru.name), phdru.name))
928 *FvwmButtons: (Title iskra, Icon xterm-sgi.xpm, Action REMOTE_HOST_KOI8(REMOTE_SCREEN(iskra-aviel.phdru.name), iskra))
929 *FvwmButtons: (Title oper, Icon xterm-linux.xpm, Action REMOTE_HOST_KOI8_BOTRT(REMOTE_SCREEN(oper.med.ru), oper))
930 popdef(`TERM_KOI8', `TERM_RU_UTF8')
932 *FvwmButtons: (Title Wallpaper, Icon find1.xpm, Action Exec "gxmessage" "$HOME"/current/projects/xsetbg/print-filename.py | text-wrap.py -w TEXT_WIDTH -s | gxmessage -buttons Ok -default Ok -fn 'MESSAGE_FONT' -file -)
933 *FvwmButtons: (Title "-1", Icon find1.xpm, Action Exec "gxmessage" "$HOME"/current/projects/xsetbg/print-filename.py 1 | text-wrap.py -w TEXT_WIDTH -s | gxmessage -buttons Ok -default Ok -fn 'MESSAGE_FONT' -file -)
934 *FvwmButtons: (Title Next, Icon Jrecycle.xpm, Action Exec exec "$HOME"/current/projects/xsetbg/xsetbg-http-force)
935 *FvwmButtons: (Title pavucontrol, Icon mini.sound.xpm, Action Exec "Volume Control" exec cgmem_nice 200 pavucontrol)
936 #*FvwmButtons: (Title Id3Info, Icon bell.xpm, Action Id3Info)
937 *FvwmButtons: (Title AudioPlayer, Icon bell.xpm, Action Exec "Audacious" LC_CTYPE=ru_RU.KOI8-R exec cgmem_nice 200 audacious)
938 #*FvwmButtons: (Title XLock, Icon Jxlock.xpm, Action Exec exec xscreensaver-command -lock)
940 ############################################################################
943 # FvwmForm alias - rlogin to host via term
945 #*Rlogin: WarpPointer
946 #*Rlogin: Font *helvetica*m*r*n*14*
947 #*Rlogin: ButtonFont *helvetica*m*o*n*14*
948 #*Rlogin: InputFont *cour*m*r*n*14*
950 #*Rlogin: Back Light Gray
951 #*Rlogin: ItemFore Wheat
952 #*Rlogin: ItemBack Gray50
954 #*Rlogin: Line center
955 #*Rlogin: Text "Login to Remote Host"
956 #*Rlogin: Line center
957 #*Rlogin: Text "Host:"
958 #*Rlogin: Input HostName 20 ""
959 #*Rlogin: Line center
960 #*Rlogin: Selection UserSel single
961 #*Rlogin: Choice Default Default on "same user"
962 #*Rlogin: Choice Custom Custom off "user:"
963 #*Rlogin: Input UserName 10 ""
964 #*Rlogin: Line expand
965 #*Rlogin: Button quit "Login" ^M
966 #*Rlogin: Command TERM_KOI8 -T term@$(HostName) -e rlogin $(HostName) $(Custom?-l $(UserName))
967 #*Rlogin: Button restart "Clear"
968 #*Rlogin: Command Beep
969 #*Rlogin: Button quit "Cancel"
970 #*Rlogin: Command Nop
972 ## FvwmForm alias - query exit ala mwm
974 #*QuitVerify: GrabServer
975 #*QuitVerify: WarpPointer
976 #*QuitVerify: Font *helvetica*m*r*n*14*
977 ##*QuitVerify: ButtonFont *helvetica*m*o*n*14*
978 #*QuitVerify: ButtonFont 7x13bold
979 #*QuitVerify: Fore Black
980 #*QuitVerify: Back Light Gray
981 #*QuitVerify: ItemFore Wheat
982 #*QuitVerify: ItemBack Gray50
984 #*QuitVerify: Line center
985 #*QuitVerify: Text "Do you really want to exit FVWM?"
986 #*QuitVerify: Line expand
987 #*QuitVerify: Button quit " Exit "
988 #*QuitVerify: Command Quit
989 #*QuitVerify: Button quit "Cancel"
990 #*QuitVerify: Command Nop
993 ## MyTalk & MyFvwmTalk from Dave Goldberg
994 ## MyTalk Form - dissappears after use
996 #*MyTalk: WarpPointer
997 #*MyTalk: Font *helvetica*m*r*n*14*
998 #*MyTalk: ButtonFont *helvetica*m*o*n*14*
999 #*MyTalk: InputFont *cour*m*r*n*14*
1002 #*MyTalk: ItemFore Blue
1003 #*MyTalk: ItemBack Gray
1004 #*MyTalk: Line center
1005 #*MyTalk: Text "Fvwm Function"
1006 #*MyTalk: Input Func 40 ""
1007 #*MyTalk: Line expand
1008 #*MyTalk: Button quit "Run" ^M
1009 #*MyTalk: Command $(Func)
1010 #*MyTalk: Button restart "Clear" ^R
1011 #*MyTalk: Button quit "Cancel" ^C
1012 #*MyTalk: Command Nop
1014 ## MyFvwmTalk Form - sticks around
1015 #FvwmForm MyFvwmTalk
1016 #*MyFvwmTalk: WarpPointer
1017 #*MyFvwmTalk: Font *helvetica*m*r*n*14*
1018 #*MyFvwmTalk: ButtonFont *helvetica*m*o*n*14*
1019 #*MyFvwmTalk: InputFont *cour*m*r*n*14*
1020 #*MyFvwmTalk: Fore Red
1021 #*MyFvwmTalk: Back Gray
1022 #*MyFvwmTalk: ItemFore Blue
1023 #*MyFvwmTalk: ItemBack Gray
1024 #*MyFvwmTalk: Line center
1025 #*MyFvwmTalk: Text "Fvwm Function"
1026 #*MyFvwmTalk: Input Func 40 ""
1027 #*MyFvwmTalk: Line expand
1028 #*MyFvwmTalk: Button restart "Run" ^M
1029 #*MyFvwmTalk: Command $(Func)
1030 #*MyFvwmTalk: Button restart "Clear" ^R
1031 #*MyFvwmTalk: Command Nop
1032 #*MyFvwmTalk: Button restart "Iconify" ^Z
1033 #*MyFvwmTalk: Command Next [MyFvwmTalk] Iconify
1034 #*MyFvwmTalk: Button quit "Quit" ^C
1035 #*MyFvwmTalk: Command Nop
1037 ############################################################################
1040 # NOTE: Icons will only be shown in module if "Style * !Icon" is set
1041 *FvwmIconBox: IconBack #cfcfcf
1042 *FvwmIconBox: IconHiFore black
1043 *FvwmIconBox: IconHiBack LightSkyBlue
1044 *FvwmIconBox: Back #5f9ea0
1045 #*FvwmIconBox: Fore blue
1046 *FvwmIconBox: Geometry 5x1+0+0
1047 *FvwmIconBox: MaxIconSize 64x38
1048 *FvwmIconBox: Font ICON_BOX_FONT
1049 *FvwmIconBox: SortIcons IconName
1050 *FvwmIconBox: Padding 4
1051 *FvwmIconBox: Lines 10
1052 *FvwmIconBox: SBWidth 11
1053 *FvwmIconBox: Placement Left Top
1054 *FvwmIconBox: Pixmap fvwm.xpm
1055 #*FvwmIconBox: HideSC Horizontal
1056 *FvwmIconBox: SetWMIconSize
1057 *FvwmIconBox: HilightFocusWin
1058 #*FvwmIconBox: Resolution Desk
1059 *FvwmIconBox: Mouse 1 Click RaiseLower
1060 *FvwmIconBox: Mouse 1 DoubleClick Iconify
1061 *FvwmIconBox: Mouse 2 Click Iconify -1, Focus
1062 *FvwmIconBox: Mouse 3 Click Module FvwmIdent
1063 *FvwmIconBox: Key r RaiseLower
1064 *FvwmIconBox: Key space Iconify
1065 *FvwmIconBox: Key d Close
1066 *FvwmIconBox: Key n Next
1067 *FvwmIconBox: Key p Prev
1068 *FvwmIconBox: Key h Left
1069 *FvwmIconBox: Key j Down
1070 *FvwmIconBox: Key k Up
1071 *FvwmIconBox: Key l Right
1073 ############################################################################
1076 # Give us colors and a fonts
1077 *FvwmIdent: Back MidnightBlue
1078 *FvwmIdent: Fore Yellow
1079 *FvwmIdent: Font IDENT_FONT
1081 ############################################################################
1084 *FvwmPager: Back #908090
1085 *FvwmPager: Fore #484048
1086 *FvwmPager: Font TITLE_FONT
1087 *FvwmPager: Hilight #cab3ca
1088 *FvwmPager: Geometry PAGER_GEOM
1089 *FvwmPager: Label 0 System
1090 *FvwmPager: Label 1 Net
1091 *FvwmPager: Label 2 Work
1092 *FvwmPager: SmallFont SMALL_PAGER_FONT
1094 *FvwmPager: Balloons All
1095 *FvwmPager: BalloonBack #efe3b5
1096 *FvwmPager: BalloonFore Black
1097 *FvwmPager: BalloonFont ICON_FONT
1098 *FvwmPager: BalloonYOffset +2
1099 *FvwmPager: BalloonBorderWidth 1
1100 *FvwmPager: BalloonBorderColor Black
1102 ############################################################################
1105 *FvwmScroll: Back grey40
1106 *FvwmScroll: Fore green
1108 ############################################################################
1111 *FvwmWinList: Back #908090
1112 *FvwmWinList: Fore Black
1113 *FvwmWinList: Font WIN_LIST_FONT
1114 *FvwmWinList: Action Click1 Iconify -1, Focus
1115 *FvwmWinList: Action Click2 Iconify
1116 *FvwmWinList: Action Click3 Module "FvwmIdent: " FvwmIdent
1117 *FvwmWinList: UseSkipList
1118 *FvwmWinList: Geometry +10-10