#
# User configuration file for Fvwm2
#
# Text version here
#
# Generated by gvim :runtime syntax/2html.vim
#
##########################################################################
# FVWM - F? Virtual Window Manager, Version 2.x (fvwm2) Configuration File
#

dnl The file is in m4 format, use FvwmM4 module to read it


dnl This is to prevent FvwmM4 to shadow $HOME
undefine(`HOME')

dnl Echo dimension
changecom(`/*', `*/')
# width = WIDTH
changecom(`#')

dnl Terminal emulator
define(`TERM', `urxvt -ls')

dnl Fonts
define(`SMALL_FONT', `xft:Sans:size=10')
define(`MEDIUM_FONT', `xft:Sans:size=12')
define(`BIG_FONT', `xft:Sans:size=14')

dnl Bold fonts
define(`SMALL_BOLD_FONT', `xft:Sans:Bold:size=10')
define(`MEDIUM_BOLD_FONT', `xft:Sans:Bold:size=12')

dnl koi8-r Fonts
define(`SMALL_FONT_KOI8', `-*-fixed-medium-r-normal-*-*-100-*-*-*-*-koi8-r')
define(`MEDIUM_FONT_KOI8', `-*-fixed-medium-r-normal-*-*-120-*-*-*-*-koi8-r')
define(`BIG_FONT_KOI8', `-*-fixed-medium-r-normal-*-*-140-*-*-*-*-koi8-r')

dnl cp1251 Fonts
dnl define(`SMALL_FONT_CP1251', `-*-fixed-medium-r-normal-*-*-100-*-*-*-*-*-cp1251')
dnl define(`MEDIUM_FONT_CP1251', `-*-fixed-medium-r-normal-*-*-120-*-*-*-*-*-cp1251')
dnl define(`BIG_FONT_CP1251', `-*-fixed-medium-r-normal-*-*-140-*-*-*-*-*-cp1251')

dnl Misc fonts
define(`MENU_FONT', `xft:Helvetica:size=14')
define(`FVWM_IDENT_FONT', `xft:Helvetica:size=12')
define(`FVWM_BUTTONS_FONT', `xft:Helvetica:size=10')
define(`FVWM_WIN_LIST_FONT', `xft:Helvetica:size=10')
define(`FVWM_ICON_BOX_FONT', `xft:Helvetica:size=12')

define(`XBUFFY_FONT', `-cronyx-helvetica-bold-r-*-*-*-100-*-*-*-*-koi8-r')
define(`MESSAGE_FONT', `Helvetica Bold 16')


dnl Font and geometry aliases that depend on whether the screen resolution is
dnl 800x600 or 1024x768

define(`ICON_FONT',
`ifelse(eval(WIDTH < 1024), 1, `SMALL_FONT',dnl
`ifelse(eval(WIDTH >= 1024), 1, `MEDIUM_FONT', `FONT_ERROR')'dnl
)'dnl
)

define(`TITLE_FONT',
`ifelse(eval(WIDTH < 1024), 1, `SMALL_BOLD_FONT',dnl
`ifelse(eval(WIDTH >= 1024), 1, `MEDIUM_BOLD_FONT', `FONT_ERROR')'dnl
)'dnl
)

define(`XTERM_FONT',
`ifelse(eval(WIDTH < 1024), 1, `MEDIUM_FONT',dnl
`ifelse(eval(WIDTH >= 1024), 1, `BIG_FONT', `FONT_ERROR')'dnl
)'dnl
)

define(`XTERM_FONT_KOI8',
`ifelse(eval(WIDTH < 1024), 1, `MEDIUM_FONT_KOI8',dnl
`ifelse(eval(WIDTH >= 1024), 1, `BIG_FONT_KOI8', `FONT_ERROR')'dnl
)'dnl
)

define(`XTERM_FONT_CP1251',
`ifelse(eval(WIDTH < 1024), 1, `MEDIUM_FONT_CP1251',dnl
`ifelse(eval(WIDTH >= 1024), 1, `BIG_FONT_CP1251', `FONT_ERROR')'dnl
)'dnl
)

define(`XTERM_GEOM',
`ifelse(eval(WIDTH < 1024), 1, `80x25-0-0',dnl
`ifelse(eval(WIDTH >= 1024), 1, `80x30+120+150', `GEOM_ERROR')'dnl
)'dnl
)

define(`XTERM_GEOM_BIG',
`ifelse(eval(WIDTH < 1024), 1, `96x30-0-0',dnl
`ifelse(eval(WIDTH >= 1024), 1, `111x35-0-0', `GEOM_ERROR')'dnl
)'dnl
)


define(`REMOTE_HOST_FUNC',
Exec exec TERM -geometry XTERM_GEOM -title "$2" -n "$2" -e ssh-host "$1" &dnl
)

define(`REMOTE_HOST',
"$2" REMOTE_HOST_FUNC($1, $2)dnl
)

define(`REMOTE_HOST_FUNC_BIG',
Exec exec TERM -geometry XTERM_GEOM_BIG -title "$2" -n "$2" -e ssh-host "$1" &dnl
)

define(`REMOTE_HOST_BIG',
"$2" REMOTE_HOST_FUNC_BIG($1, $2)dnl
)


dnl XSetBg width
define(`XSETBG_WIDTH',
`ifelse(eval(WIDTH < 1024), 1, `50',dnl
`ifelse(eval(WIDTH >= 1024), 1, `70', `XSETBG_ERROR')'dnl
)'dnl
)

##########################################################################
# PATH Setup
#
# Colon seperated unix directory paths for Modules, xpm files, and bitmaps
#ModulePath /usr/lib/fvwm/2.4.6
ImagePath /usr/include/X11/pixmaps:/usr/include/X11/bitmaps:/usr/local/firefox/icons

############################################################################
# COLORS and FONTS
#
# Set the fore and back border colors for the window that has focus
Style * HilightFore Black, HilightBack #c06077

# Set fore/back border colors for all other windows
Style "*" Color Black/#60a0c0

# Set colors/font for pop-up menus
# Syntax: MenuStyle forecolor backcolor shadecolor font style(fvwm/mwm)
#MenuStyle maroon grey60 grey40 -*-times-bold-r-*-*-14-*-*-*-*-*-*-* fvwm
#MenuStyle black grey slategrey 7x13bold fvwm
MenuStyle "*" FVWM, Foreground Black, Background grey, Greyed SlateGrey, Font MENU_FONT

# Set fonts to use on title bar and icon label
# WindowFont              8x13
Style * Font              TITLE_FONT

# IconFont                8x13
Style * IconFont          ICON_FONT

############################################################################
# ICON Setup
#
# Auto Place Icons is a nice feature (Left Top Right Bottom)
Style "*" IconBox 10 -75 -10 -0

# If you don't want icons for some or all windows (or all of them!)
# Style "*" NoIcon

# If you want ALL icons to follow you around the desktop (Sticky)
#Style "*" StickyIcon

############################################################################
# FOCUS Setup
#
# Does the window with focus control the colormap, or the one under the mouse
# ColormapFocus FollowsFocus
ColormapFocus FollowsMouse

# Uncomment this to force you to click in a window to give it focus
#Style "*" ClickToFocus

# default: focus follows mouse
#Style "*" MouseFocus
#Style "*" FocusFollowsMouse

# If you knock your mouse out of the xterm, it keeps focus while in root window
Style "*"           SloppyFocus

############################################################################
# MISC Setup
#
# click/release must occur in <n milliseconds to be a "click"
ClickTime 250

# if the window occupies less than n% of the screen, draw it opaque
OpaqueMoveSize 5

# flip by whole pages on the edge of the screen, but delay for a half second
#EdgeScroll 100 100
#EdgeResistance 0 0
EdgeScroll 0 0
EdgeResistance 10000 25

# MWM Emulation: Don't ignore hints for functions and transient decoration
#Style "*" MWMFunctions, MWMDecor, MWMButtons, MWMMenus
Style "*" MWMFunctions, MWMDecor, MWMButtons

# Changes the look of the "rubberband" you see when moving windows (0 - 255)
XORvalue 80

###########################################################################
# PAGER Setup
#
# set the desk top size in units of physical screen size (width x height)
DeskTopSize 2 2

############################################################################
# WINDOW Placement
#
# SmartPlacement makes new windows pop-up in blank regions of screen
Style "*" MinOverlapPercentPlacement

############################################################################
# STYLE Flag Setup
#
# (decorations and window options)
# Note: Order is important!! If compatible styles are set, styles are ORed
# together. If conflicting styles are set, the last one specified is used.

# change the default width, set a global icon, and give borders to popups
# Style "*" BorderWidth 7, HandleWidth 7, Icon x.xpm, DecorateTransient
Style "*" BorderWidth 5, HandleWidth 5, Color Black/#60a0c0, Icon unknown1.xpm
Style "*" DecorateTransient, ClickToFocusRaisesOff

Style "Fvwm*"           NoTitle, Sticky, WindowListSkip
Style "*clock"          NoTitle, Sticky, WindowListSkip, Color Black/#40c040, ClickToFocus, Layer 5
Style "*lock"           NoTitle, Sticky, WindowListSkip
Style "xbiff"           NoTitle, Sticky, WindowListSkip
Style "xload"           NoTitle, Sticky, WindowListSkip, ClickToFocus
Style "xsession"        NoTitle, Sticky, WindowListSkip, ClickToFocus
Style "xconsole"        NoTitle, Sticky, WindowListSkip, ClickToFocus
Style "xfsm"            NoTitle, Sticky, WindowListSkip, ClickToFocus
Style "xdaliclock"      NoTitle, Sticky, WindowListSkip, ClickToFocus
Style "FvwmButtons"     NoTitle, NoHandles, Sticky, WindowListSkip, BorderWidth 0
Style "Time 3D"         NoTitle, Sticky
Style "*term"           Icon term.xpm, SloppyFocus
Style "*rxvt"           Icon term.xpm, SloppyFocus
Style "xcalc"           Icon xcalc.xpm
Style "xbiff"           Icon mail1.xpm
Style "xman"            Icon xman.xpm
Style "Demineur"        Icon jolifond.xpm
Style "xneko"           Icon xnekocat.xpm
Style "emacs"           NoPPosition
Style "Mosaic"          NoPPosition
Style "xmh"             Icon mail2.xpm
Style "MPlayer - Video" Layer 6

#############################################################################
# START-UP Functions
#
AddToFunc "InitFunction" "I" Module FvwmButtons
+              "I" Module FvwmPager 0 2
+              "I" Module FvwmBacker
+              "I" Module FvwmCommandS
#+              "I" Module FvwmAuto 750
#+              "I" Module FvwmAudio
#+              "I" Next [!iconic CurrentScreen xterm] Focus
#+              "I" Module FvwmWinList
#+              "I" CursorMove 30 40

AddToFunc "RestartFunction" "I" Module FvwmButtons
+              "I" Module FvwmPager 0 2
+              "I" Module FvwmBacker
+              "I" Module FvwmCommandS
#+              "I" Module FvwmAuto 750
#+              "I" Module FvwmAudio
#+              "I" Next [!iconic CurrentScreen xterm] Focus
#+              "I" Module FvwmWinList
#+              "I" CursorMove 30 40

############################################################################
# BUTTON Setup
#

## Buttons actually being used (duplicated below)
# small up triangle
#ButtonStyle 2 4 50x35@1 65x65@0 35x65@0 50x35@1
# small down triangle
#ButtonStyle 4 4 50x65@1 35x35@1 65x35@1 50x65@0
# Stylized X
#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

## Triangles
#
# Small up Triangle
# ButtonStyle * 4 50x35@1 65x65@0 35x65@0 50x35@1
# Small down Triangle
#ButtonStyle * 4 50x65@1 35x35@1 65x35@1 50x65@0
# Large up Triangle
#ButtonStyle 6 4 50x25@1 75x75@0 25x75@0 50x25@1
# Large down Triangle
#ButtonStyle 8 4 50x75@1 25x25@1 75x25@1 50x75@0

## Boxes
#
# Big Box
ButtonStyle 4 5 25x25@1 25x75@1 75x75@0 75x25@0 25x25@1
# Little Box
ButtonStyle 6 5 40x40@1 60x40@1 60x60@0 40x60@0 40x40@1
# Tall Box
#ButtonStyle 7 5 40x25@1 60x25@1 60x75@0 40x75@0 40x25@1
# Dot
#ButtonStyle 5 5 45x45@1 55x45@1 55x55@0 45x55@0 45x45@1
# Big Box with arrow to little box (iconify)
#ButtonStyle 4 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

## X's
#
# Standard X
#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
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
# Funky X
#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
# Stylized X
#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

## Lightning Bolts
#
# Small Lightning Bolt (skinny at both ends)
#ButtonStyle 5 7 70x15@0 30x55@1 50x55@0 40x85@1 80x45@0 60x45@1 70x15@0
# Big Lighting Bolt (Fat at top, comes to a point)
#ButtonStyle 6 8 35x15@1 20x50@1 40x50@0 30x80@1 75x40@0 50x40@1 75x15@0 35x15@1

## Miscellaneous Buttons
#
# Nested Right Angles (looks kinda crappy)
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
# Nested Right Angles (looks nice)
#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
# 4 Horizontal bars (sticky)
#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
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
# Expanding Windows (iconify -- looks NICE)
#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

## Arrows Galore
#
# Up Arrow
#ButtonStyle 3 8 40x80@1 40x50@1 20x50@1 50x20@1 80x50@0 60x50@0 60x80@0 40x80@0
# Down Arrow
#ButtonStyle 3 8 40x20@1 40x50@1 20x50@1 50x80@1 80x50@0 60x50@0 60x20@0 40x20@1
# Left arrow  ( <- )
#ButtonStyle 7 8 80x40@1 50x40@1 50x20@1 20x50@1 50x80@0 50x60@0 80x60@0 80x40@0
# Right arrow ( -> )
#ButtonStyle 8 8 20x40@1 50x40@1 50x20@1 80x50@1 50x80@0 50x60@0 20x60@0 20x40@1
# Horizontal Line with arrowheads on left and right ( <-> )
#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
# Vertical Line with arrowheads on top and bottom
#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
# Diagonal Line with arrowheads on top and bottom ( / )
#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
# Diagonal Line with arrowheads on top and bottom ( \ )
#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
#
# the number "2"
#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


##############################################################################
# MENU Setup
#

# This defines the most common window operations
AddToMenu Window-Ops    "Window Ops"    Title
+                       "Move"          Move-or-Raise2
+                       "Resize"        Resize-or-Raise2
+                       "Raise"         Raise
+                       "Lower"         Lower
+                       "(De)Iconify"   Iconify
+                       "(Un)Stick"     Stick
+                       "(Un)Maximize"  maximize_func
+                       ""              Nop
+                       "Delete"        Delete
+                       "Close"         Close
+                       "Destroy"       Destroy
+                       ""              Nop
+                       "Refresh Screen" Refresh

# A trimmed down version of "Window Ops", good for binding to decorations
DestroyMenu "Window-Ops2"
AddToMenu Window-Ops2   "Move"          Move-or-Raise
+                       "Iconify"       Iconify
+                       "(Un)Stick"     Stick
+                       "Refresh"       RefreshWindow
+                       ""              Nop
+                       "Close"         Close
+                       "Destroy"       Destroy
+                       "Delete"        Delete
+                       ""              Nop
+                       "Resize"        Resize-or-Raise
+                       "Shade"         WindowShade
+                       "Raise/Lower"   RaiseLower
+                       ""              Nop
+                       "ScrollBar"     Module FvwmScroll 2 2
+                       "Print"         PrintFunction

AddToMenu Terminals     "Terminals" Title
+               "Grey term"     Exec exec TERM -geometry XTERM_GEOM &
+               "Big grey term" Exec exec TERM -geometry XTERM_GEOM_BIG &
+                       ""          Nop
+               "UTF8 term"     Exec exec "$HOME"/lib/X/utf8rxvt

AddToMenu TermColors    "Term Colors" Title
+                       "Term: black/mediumturquoise" Exec exec TERM -fg black -bg mediumturquoise -geometry XTERM_GEOM &
+                       "Term: black/lightseagreen" Exec exec TERM -fg black -bg lightseagreen -geometry XTERM_GEOM &
+                       ""          Nop
+                       "Term: black/lightsteelblue" Exec exec TERM -fg black -bg lightsteelblue -geometry XTERM_GEOM &
+                       "Term: black/lightblue3" Exec exec TERM -fg black -bg lightblue3 -geometry XTERM_GEOM &
+                       ""          Nop
+                       "Term: black/lightgoldenrod" Exec exec TERM -fg black -bg lightgoldenrod -geometry XTERM_GEOM &
+                       "Term: black/rosybrown1" Exec exec TERM -fg black -bg rosybrown1 -geometry XTERM_GEOM &
+                       "Term: black/pink1" Exec exec TERM -fg black -bg pink1 -geometry XTERM_GEOM &
+                       ""          Nop
+                       "Term: white/orchid4" Exec exec TERM -fg white -bg orchid4 -geometry XTERM_GEOM &
+                       "Term: white/purple3" Exec exec TERM -fg white -bg purple3 -geometry XTERM_GEOM &
+                       "Term: white/purple4" Exec exec TERM -fg white -bg purple4 -geometry XTERM_GEOM &
+                       ""          Nop
+                       "Term: white/lightslategrey" Exec exec TERM -fg white -bg lightslategrey -geometry XTERM_GEOM &
+                       "Term: white/navyblue" Exec exec TERM -fg white -bg navyblue -geometry XTERM_GEOM &
+                       "Term: white/mediumblue" Exec exec TERM -fg white -bg mediumblue -geometry XTERM_GEOM &
+                       "Term: white/steelblue" Exec exec TERM -fg white -bg steelblue -geometry XTERM_GEOM &
+                       ""          Nop
+                       "Term: white/forestgreen" Exec exec TERM -fg white -bg forestgreen -geometry XTERM_GEOM &
+                       "Term: white/rosybrown" Exec exec TERM -fg white -bg rosybrown -geometry XTERM_GEOM &
+                       "Term: white/deeppink" Exec exec TERM -fg white -bg deeppink -geometry XTERM_GEOM &
+                       "Term: white/black" Exec exec TERM -fg white -bg black -geometry XTERM_GEOM &

AddToMenu Systems       "Systems" Title
#+                       REMOTE_HOST(sun.med.ru, sun)
+                       REMOTE_HOST(oper.med.ru, oper)
+                       REMOTE_HOST_BIG(oper.med.ru, OPER)
+                       ""               Nop
+                       REMOTE_HOST(medap.biochemmack.ru, bcm)
+                       REMOTE_HOST(tiger.ank-sia.com, ank-sia)
+                       ""               Nop
+                       REMOTE_HOST(iskra.aviel.ru, IsKra)
+                       REMOTE_HOST(sae24.aviel.ru, sae24)
+                       REMOTE_HOST(disney.aviel.ru, disney)
+                       REMOTE_HOST(genie@planeta.aviel.ru, planeta)

#AddToMenu LogFiles      "Log Files" Title
#+                       "messages"  Exec exec TERM -bg grey50 -fg white -g 80x30 -title "messages" -e tail -f -n 60 /var/log/messages &

AddToMenu FvwmCommands  "Fvwm Commands" Title
+                       "Restart" Restart
+                       "Raise all" Raise-All
#+                       "Restart Fvwm2" Restart fvwm2
#+                       "Start Fvwm"    Restart fvwm
+                       "Fvwm Setup"    Popup FvwmSetup
+                       "Fvwm Modules"  Popup FvwmModules
+                       "" Nop
+                       "Exit Fvwm"     Quit

AddToMenu FvwmSetup     "Fvwm Setup" Title
+                       "Change Scrolling"      Popup FvwmScroll

AddToMenu FvwmScroll    "Change Scroll Behavior" Title
+                       "OFF"   EdgeScroll 0 0
+                       "ON"    EdgeScroll 100 100
+                       "Horizontal Only"       EdgeScroll 100 0
+                       "Vertical Only"         EdgeScroll 0 100
+                       "Partial"               EdgeScroll 50 50

AddToMenu FvwmModules   "Fvwm Modules" Title
+                       "Animate"      Module FvwmAnimate
+                       "Auto"         Module FvwmAuto
+                       "Backer"       Module FvwmBacker
+                       "Banner"       Module FvwmBanner
+                       "Buttons"      Module FvwmButtons
+                       "Cascade"      Module FvwmCascade
+                       "CommandS"     Module FvwmCommandS
+                       "Console"      Module FvwmConsole
+                       "ConsoleC"     Module  FvwmConsoleC -e FvwmConsoleC.pl
+                       "Cpp"          Module FvwmCpp
+                       "Debug"        Module FvwmDebug
+                       "DragWell"     Module FvwmDragWell
+                       "Event"        Module FvwmEvent
+                       "Form"         Module FvwmForm
+                       "Gtk"          Module FvwmGtk
+                       "IconBox"      Module FvwmIconBox
+                       "IconMan"      Module FvwmIconMan
+                       "Ident"        Module FvwmIdent
+                       "M4"           Module FvwmM4
+                       "Pager"        Module  FvwmPager 0 2
+                       "Rearrange"    Module FvwmRearrange
+                       "Save"         Module FvwmSave
+                       "SaveDesk"     Module FvwmSaveDesk
+                       "Script"       Module FvwmScript
+                       "Scroll"       Module FvwmScroll
+                       "TaskBar"      Module FvwmTaskBar
+                       "Theme"        Module FvwmTheme
+                       "Tile"         Module FvwmTile
+                       "Wharf"        Module FvwmWharf
+                       "WinList"      Module FvwmWinList

# This is the root menu
AddToMenu RootMenu "Root Menu"  Title
+               "Terminals"     Popup Terminals
+               "Color term"    Popup TermColors
+               ""              Nop
+               "Systems"       Popup Systems
+               "Browsers"      Popup Browsers
+               "Utilities"     Popup Utilities
#+               ""              Nop
#+               "Lock Screen"   Popup XlockMenu
+               "XScreenSaver"  Popup XScreenSaverMenu
#+               "Tv-tuner"      Popup Tv-tuner
+               ""              Nop
+               "XSetBg"        Popup XSetBgMenu
+               "Fvwm Commands" Popup FvwmCommands

# This menu will fire up some often used programs
DestroyMenu  Utilities
AddToMenu Utilities     "Choose one:" Title
+                       "GVim"   Exec exec gvim &
+                       ""       Nop
+                       "GFTP"   Exec exec gftp &
+                       "XFortune" Exec /usr/games/fortune | gmessage -fn 'MESSAGE_FONT' -file - -buttons ok -default ok &
#+                       "xbuffy" Exec exec xbuffy -fn 'XBUFFY_FONT' -geometry +0+125 -boxfile mail/misc/.xbuffyrc &
+                       ""       Nop
#+                       "XMMS"   Exec exec xmms &
#+                       "xaumix" Exec exec xaumix &
#+                       ""       Nop
+                       "xload"  Exec exec xload -geometry =136x136+0+0 &
+                       "Top"    Exec exec TERM -T Top -n Top -e top &
+                       ""       Nop
+                       "Refresh Screen" Refresh
+                       "xrefresh" Exec exec xrefresh &
+                       ""       Nop
+                       "xcalc" Exec exec xcalc &
+                       "xclipboard" Exec exec xclipboard &
+                       "xcutsel" Exec exec xcutsel &
#+                       "xman" Exec exec xman -notopbox -geometry +150+102 &
#+                       "emacs" Exec emacs -geometry 81x35+150+34 &
#+                       "xv" Function warp-or-run xv "Exec exec xv -ncols 240 -geometry +0+0 &"

DestroyMenu  Browsers
AddToMenu Browsers      "Choose one:" Title
+                       "FireFox (phd)" Exec exec ff -P phd &
+                       "FireFox-ru (phd)" Exec exec ff-ru -P phd &
+                       "Kill FireFox" Exec exec firefox-kill &
+                       ""       Nop
+                       "SeaMonkey (phd)" Exec exec seamonkey -P phd &
+                       "Kill SeaMonkey" Exec exec seamonkey-kill &
+                       ""       Nop
+                       "Opera" Exec exec opera &

# A wide variety of screenlocking options...
#AddToMenu XlockMenu     "Choose one:" Title
#+                       "Hop" Exec exec xlock -mode hop &
#+                       "Image" Exec exec xlock -mode image &
#+                       "Life" Exec exec xlock -mode life &
#+                       "Flame" Exec exec xlock -mode flame &
#+                       "Pyro" Exec exec xlock -mode pyro &
#+                       "Qix" Exec exec xlock -mode qix &
#+                       "Rotor" Exec exec xlock -mode rotor &
#+                       "Swarm" Exec exec xlock -mode swarm &
#+                       "" Nop
#+                       "Random" Exec exec xlock -mode random &
#+                       "Blank" Exec exec xlock -mode blank &

AddToMenu XScreenSaverMenu     "Choose mode:" Title
+                       "Blank Screen Now" Exec exec xscreensaver-command -activate
+                       "Lock Screen Now"  Exec exec xscreensaver-command -lock
+                       "Screen Saver Demo" Exec exec xscreensaver-command -demo
+                       "Screen Saver Preferences"  Exec exec xscreensaver-command -prefs
+                       "Reinitialize Screen Saver" Exec exec xscreensaver-command -restart
+                       "" Nop
+                       "Launch Screen Saver"       Exec exec xscreensaver &
+                       "Kill Screen Saver"         Exec exec xscreensaver-command -exit

AddToMenu XSetBgMenu    "XSetBg" Title
+                       "Change wallpaper" Exec exec readyexec $HOME/lib/xsetbg/xsetbg.sock force &
+                       "Restart" Exec $HOME/lib/xsetbg/xsetbg.stop && exec $HOME/lib/xsetbg/xsetbg.start &
+                       ""       Nop
+                       "Filename" Exec exec $HOME/lib/xsetbg/print-filename.py &
+                       "XFilename" Exec $HOME/lib/xsetbg/print-filename.py | gmessage -fn 'MESSAGE_FONT' -file - -buttons ok -default ok &
+                       "XFilename (wrapped)" Exec $HOME/lib/xsetbg/print-filename.py -w 75 -s | gmessage -fn 'MESSAGE_FONT' -file - -buttons ok -default ok &
#+                       "XFilename (term)" Exec $HOME/lib/xsetbg/print-filename.py | TERM -e dialog --msgbox "$(cat -)" 8 72 &
#+                       "Xli" Exec $HOME/lib/xsetbg/print-filename.py -0 | xargs -0 xli &
changequote([,])dnl
+                       "Xli" Exec exec xli "`$HOME/lib/xsetbg/print-filename.py`" &
+                       "Xli (scaled)" Exec exec xview.py "`$HOME/lib/xsetbg/print-filename.py`" &
changequote([`], ['])dnl
+                       ""       Nop
+                       "Filename (prev.)" Exec exec $HOME/lib/xsetbg/print-filename.py -o &
+                       "XFilename (prev.)" Exec $HOME/lib/xsetbg/print-filename.py -o | gmessage -fn 'MESSAGE_FONT' -file - -buttons ok -default ok &
+                       "XFilename (prev., wrapped)" Exec $HOME/lib/xsetbg/print-filename.py -o -w 75 -s | gmessage -fn 'MESSAGE_FONT' -file - -buttons ok -default ok &
#+                       "XFilename (prev., term)" Exec $HOME/lib/xsetbg/print-filename.py -o | TERM -e dialog --msgbox "$(cat -)" 8 72 &
changequote([,])dnl
+                       "Xli (prev.)" Exec exec xli "`$HOME/lib/xsetbg/print-filename.py -o`" &
+                       "Xli (prev., scaled)" Exec exec xview.py "`$HOME/lib/xsetbg/print-filename.py -o`" &
changequote([`], ['])dnl

AddToMenu Tv-tuner      "Tv-tuner" Title
+                       "TvTime"    Exec exec /usr/local/tvtuner/bin/tvtime &
+                       "ORT"       Exec exec $HOME/lib/tv/ORT &
+                       "RTR"       Exec exec $HOME/lib/tv/RTR &
+                       "TVC"       Exec exec $HOME/lib/tv/TVC &
+                       "NTV"       Exec exec $HOME/lib/tv/NTV &
+                       "TV-CULTURE" Exec exec $HOME/lib/tv/TV-CULTURE &
+                       ""          Nop
+                       "TV6"       Exec exec $HOME/lib/tv/TV6 &
+                       "THT"       Exec exec $HOME/lib/tv/THT &
+                       "REN-TV"    Exec exec $HOME/lib/tv/REN-TV &
+                       "CTC"       Exec exec $HOME/lib/tv/CTC &
+                       "7TV"       Exec exec $HOME/lib/tv/7TV &
+                       "TV3"       Exec exec $HOME/lib/tv/TV3 &
+                       "M1"        Exec exec $HOME/lib/tv/M1 &
+                       "RAM-TV"    Exec exec $HOME/lib/tv/RAM-TV &
+                       "ATV"       Exec exec $HOME/lib/tv/ATV &
+                       "MUZ-TV"    Exec exec $HOME/lib/tv/MUZ-TV &
+                       "MTV"       Exec exec $HOME/lib/tv/MTV &

############################################################################
# COMPLEX FUNCTIONS
#
AddToFunc warp-or-run           "I" Next [$0 CirculateHit] Iconify -1
+                               "I" Next [$0 CirculateHit] Focus
+                               "I" None [$0] $1

AddToFunc MailFunction          "I" Next [$0] Iconify -1
+                               "I" Next [$0] focus
+                               "I" None [$0] Exec exec $0 $1

AddToFunc Move-or-Raise         "I" Raise
+                               "M" Move
+                               "D" Lower

AddToFunc Shadify               "D" WindowShade
+                               "M" Move
+                               "C" RaiseLower

AddToFunc Move-or-Raise2        "M" Raise
+                               "M" Move
+                               "D" Lower

AddToFunc Maximize-Func         "C" Maximize     toggle
+                               "D" Maximize     100 100

AddToFunc Move-or-Iconify       "I" Raise
+                               "M" Move
+                               "D" Iconify

AddToFunc Resize-or-Raise       "I" Raise
+                               "M" Resize
+                               "D" Lower

AddToFunc Resize-or-Raise2      "M" Raise
+                               "M" Resize
+                               "D" Lower

AddToFunc PrintFunction         "I" Raise
+                               "I" Exec exec xdpr -id $w

AddToFunc Iconify-and-Raise     "I" Iconify
+                               "I" Raise

############################################################################
# MOUSE Setup
#
# First, the root window. Button 1 brings up the Main Menu. B2 is the
# window operations list, and B3 is the winlist module
#     Button    Context Modifi  Function
Mouse 1         R       A       Menu RootMenu Nop
Mouse 2         R       A       Menu Window-Ops Nop
Mouse 3         R       A       WindowList

# Now, title bar buttons
# Left button is the Window-Ops2 menu
#     Button    Context Modifi  Function
Mouse 0         1       A       Menu Window-Ops2 Close
Mouse 0         3       A       Stick
# Right buttonsare iconify/maximize, rightmost is close
Mouse 0         2       A       Close
Mouse 0         4       A       Maximize toggle
Mouse 0         6       A       Iconify

# Button 1 in Frame or Sides is a resize-or-raise, in Icons is a move or
# de-iconify, and on Top does a move-or-raise
#     Button    Context Modifi  Function
Mouse 1         F       A       Resize-or-Raise
Mouse 1         S       A       Move-or-Raise
Mouse 1         I       A       Move-or-Iconify
#Mouse 1                T       A       Move-or-Raise
Mouse 1         T       A       Shadify

# Button 2 in an Icon is de-iconify, in Corners/Sides/Titlebar gets Ops Menu
#     Button    Context Modifi  Function
Mouse 2         I       A       Iconify
Mouse 2         FST     A       Menu Window-Ops2 Nop

# Button 3 does a raise-lower on anything
Mouse 3         TSIF    A       RaiseLower

############################################################################
# KEYBOARD Setup

#
# press arrow + control + meta anywhere, and scroll by 1 page
Key Left        A       CM      Scroll -100 +0
Key Right       A       CM      Scroll +100 +0
Key Up          A       CM      Scroll +0   -100
Key Down        A       CM      Scroll +0   +100

# press arrow + meta key, and scroll by 1/10 of a page
Key Left        A       M       Scroll -10   +0
Key Right       A       M       Scroll +10   +0
Key Up          A       M       Scroll  +0  -10
Key Down        A       M       Scroll  +0  +10

# press shift arrow + control anywhere, and move the pointer by 1% of a page
Key Left        A       SC      CursorMove -1  +0
Key Right       A       SC      CursorMove +1  +0
Key Up          A       SC      CursorMove +0  -1
Key Down        A       SC      CursorMove +0  +1

# press shift arrow + meta key, and move the pointer by 1/10 of a page
Key Left        A       SM      CursorMove -10  +0
Key Right       A       SM      CursorMove +10  +0
Key Up          A       SM      CursorMove +0  -10
Key Down        A       SM      CursorMove +0  +10

# Switch window, mswindows style :)
Key Tab         A       M       Next [*] focus
Key Escape      A       M       Prev [*] focus

# Goto desktop/page
Key 1           A       CM      Desk 0 0
Key 2           A       CM      Desk 0 1
Key 3           A       CM      Desk 0 2
Key 4           A       CM      Desk 0 3
Key 5           A       CM      GotoPage 0 0
Key 6           A       CM      GotoPage 1 0
Key 7           A       CM      GotoPage 0 1
Key 8           A       CM      GotoPage 1 1

############################################################################
# FvwmPager
#
*FvwmPagerBack #908090
*FvwmPagerFore #484048
*FvwmPagerFont TITLE_FONT
*FvwmPagerHilight #cab3ca
*FvwmPagerGeometry 365x100+0+0
*FvwmPagerLabel 0 System
*FvwmPagerLabel 1 Net
*FvwmPagerLabel 2 Work
*FvwmPagerSmallFont ICON_FONT

*FvwmPagerBalloons All
*FvwmPagerBalloonBack #efe3b5
*FvwmPagerBalloonFore Black
*FvwmPagerBalloonFont ICON_FONT
*FvwmPagerBalloonYOffset +2
*FvwmPagerBalloonBorderWidth 1
*FvwmPagerBalloonBorderColor Black

############################################################################
# FvwmButtons
#
# Colors
#*FvwmButtonsFore Black
#*FvwmButtonsBack #908090

# Font
*FvwmButtonsFont        FVWM_BUTTONS_FONT

# Geometry-- really likes to pick its own size, but giving a position is OK
#*FvwmButtonsGeometry -1+1

# Layout: specify rows or columns, not both
#*FvwmButtons: Rows 1, Columns 6

# Define the buttons to use.....
#*FvwmButtons Move              arrows2.xpm     Move
#*FvwmButtons Kill              skull.xpm       Destroy
#*FvwmButtons Quit              nuke.xpm        Popup "Quit-Verify"

#*FvwmButtons (de)Iconify       eyenew.xpm      Iconify
#*FvwmButtons Restart eye2.xpm     Restart
#*FvwmButtons Xcalc   rcalc.xpm   Exec "Calculator" exec xcalc &
#*FvwmButtons junk   3dx.xpm     Swallow "xload"  xload -bg #908090
#*FvwmButtons xmter x.xpm            Swallow "xmter" xmter &
#*FvwmButtons ""  clock.xpm   Swallow "xclock" xclock -bg #908090 -padding 0 &
#*FvwmButtons "" 3dx.xpm Swallow "Time 3D" t3d -fg #908090 -mag .3 -wobber 0 &

#*FvwmButtons: (Swallow XClock 'Exec exec xclock -update 1 -geometry -3000-3000 &')
#*FvwmButtons Xterm   xterm.xpm   Exec exec TERM -title "Color Xterm" -g 80x25 -bg lightgrey -ls &
#*FvwmButtons mail    mail2.xpm   Exec exec TERM -title "Pine" -fn 10x20 -g 80x25 -e pine &
#*FvwmButtons news    page.xpm   Exec exec TERM -title "Tin" -fn 10x20 -bg black -fg white -e tin &
#*FvwmButtons Minicom mini-connect.xpm Exec exec TERM -title "Minicom" -bg black -fg white -ls -e minicom &
#*FvwmButtons Real    bell.xpm    Exec cd /opt/audio && exec realplay &
#*FvwmButtons XSetBg  desktop.xpm Exec exec $HOME/lib/xsetbg/xsetbg.py &
#*FvwmButtons Kill    rbomb.xpm    Destroy

#*FvwmButtons Term   term.xpm    Exec exec TERM -geometry XTERM_GEOM &
#*FvwmButtons ""     mozilla.xpm Exec exec mozilla &
#*FvwmButtons ""     online.xpm  Exec exec gajim &
#*FvwmButtons XMMS   folders.xpm Exec exec xmms &

# Colors
*FvwmButtons: Fore Black
*FvwmButtons: Back rgb:90/80/90

# Font
*FvwmButtons: Font        ICON_FONT

# Geometry-- really likes to pick its own size, but giving a position is OK
*FvwmButtons: Geometry -1+1

# Layout
*FvwmButtons: Rows 2 #, Columns 4

# Transparent background
#*FvwmButtons: Pixmap none
# Background
#*FvwmButtons: Pixmap fvwm.xpm

DestroyFunc Term-Oper
AddToFunc Term-Oper           "I" GotoDeskAndPage 0 0 1
+                             "I" REMOTE_HOST_FUNC(oper.med.ru, oper)
+                             "I" Wait oper

DestroyFunc Term-Oper-Big
AddToFunc Term-Oper-Big       "I" GotoDeskAndPage 1 0 1
+                             "I" REMOTE_HOST_FUNC_BIG(oper.med.ru, OPER)
+                             "I" Wait OPER

DestroyFunc Term-Iskra
AddToFunc Term-Iskra          "I" GotoDeskAndPage 2 0 1
+                             "I" REMOTE_HOST_FUNC(iskra.aviel.ru, iskra)
+                             "I" Wait iskra

DestroyFunc FireFox
AddToFunc FireFox             "I" GotoDeskAndPage 1 0 0
+                             "I" Exec exec ff -P phd &

DestroyFunc FireFox-ru
AddToFunc FireFox-ru          "I" GotoDeskAndPage 1 0 0
+                             "I" Exec exec ff-ru -P phd &

DestroyFunc SeaMonkey
AddToFunc SeaMonkey           "I" GotoDeskAndPage 1 0 0
+                             "I" Exec exec seamonkey -P phd &

DestroyFunc IM
AddToFunc IM                  "I" GotoDeskAndPage 1 1 0
+                             "I" Exec exec gajim &
+                             "I" Wait Gajim

DestroyFunc Raise-All
AddToFunc Raise-All           "I" All ("*term|*rxvt|OPER|*Firefox|*SeaMonkey|*Gajim*") Raise

# Buttons
*FvwmButtons: (Title Term,     Icon rterm2.xpm,      Action Exec exec TERM -geometry XTERM_GEOM &)
*FvwmButtons: (Title oper,     Icon xterm-linux.xpm, Action Term-Oper)
*FvwmButtons: (Title OPER,     Icon xterm-linux.xpm, Action Term-Oper-Big)
*FvwmButtons: (Title IM,       Icon online.xpm,      Action IM)
#*FvwmButtons: (Title SeaMonkey,Icon main-window.xpm, Action SeaMonkey)
*FvwmButtons: (Title Firefox,  Icon mozicon50.xpm,   Action Firefox)

*FvwmButtons: (Title Wallpaper, Icon find1.xpm,      Action Exec $HOME/lib/xsetbg/print-filename.py -w 75 -s | gmessage -fn 'MESSAGE_FONT' -file - -buttons ok -default ok &)
*FvwmButtons: (Title "XMMS File",Icon bell.xpm,      Action Exec xmmsctrl print '%F%n%T' | gmessage -fn 'MESSAGE_FONT' -file - -buttons ok -default ok &)
*FvwmButtons: (Title XMMS,     Icon bell.xpm,        Action Exec exec xmms &)
*FvwmButtons: (Title xaumix,   Icon mini.sound.xpm,  Action Exec exec TERM -geometry 80x13+0-0 -rv +sb -T aumix -n aumix -e aumix -d "$HOME"/misc/mixer -C ansi &)
*FvwmButtons: (Title IsKra,    Icon xterm-sgi.xpm,   Action Term-Iskra)

#*FvwmButtons: (Title XLock,    Icon Jxlock.xpm,      Action Exec exec xscreensaver-command -lock &)

############################################################################
# FvwmIdent
#
# Give us colors and a fonts
*FvwmIdentBack MidnightBlue
*FvwmIdentFore Yellow
*FvwmIdentFont FVWM_IDENT_FONT

############################################################################
# FvwmWinList
#
*FvwmWinListBack #908090
*FvwmWinListFore Black
*FvwmWinListFont FVWM_WIN_LIST_FONT
*FvwmWinListAction Click1 Iconify -1, Focus
*FvwmWinListAction Click2 Iconify
*FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent
*FvwmWinListUseSkipList
*FvwmWinListGeometry +10-10

############################################################################
# FvwmBacker
#
#*FvwmBacker: Command (Desk 0, Page * *) -solid DarkCyan
#*FvwmBacker: Command (Desk 1, Page * *) -solid steelblue
#*FvwmBacker: Command (Desk 2, Page * *) -solid midnightblue
*FvwmBacker: Command (Desk *, Page * *) Exec exec readyexec $HOME/lib/xsetbg/xsetbg.sock &

############################################################################
# FvwmIconBox
#
# NOTE: Icons will only be shown in module if Style "??" NoIcon is set
*FvwmIconBoxIconBack    #cfcfcf
*FvwmIconBoxIconHiFore  black
*FvwmIconBoxIconHiBack  LightSkyBlue
*FvwmIconBoxBack        #5f9ea0
#*FvwmIconBoxFore       blue
*FvwmIconBoxGeometry    5x1+0+0
*FvwmIconBoxMaxIconSize 64x38
*FvwmIconBoxFont        FVWM_ICON_BOX_FONT
*FvwmIconBoxSortIcons   IconName
*FvwmIconBoxPadding     4
*FvwmIconBoxLines       10
*FvwmIconBoxSBWidth     11
*FvwmIconBoxPlacement   Left Top
*FvwmIconBoxPixmap      fvwm.xpm
#*FvwmIconBoxHideSC Horizontal
*FvwmIconBoxSetWMIconSize
*FvwmIconBoxHilightFocusWin
#*FvwmIconBoxResolution          Desk
*FvwmIconBoxMouse       1       Click           RaiseLower
*FvwmIconBoxMouse       1       DoubleClick     Iconify
*FvwmIconBoxMouse       2       Click           Iconify -1, Focus
*FvwmIconBoxMouse       3       Click           Module FvwmIdent
*FvwmIconBoxKey         r       RaiseLower
*FvwmIconBoxKey         space   Iconify
*FvwmIconBoxKey         d       Close
*FvwmIconBoxKey         n       Next
*FvwmIconBoxKey         p       Prev
*FvwmIconBoxKey         h       Left
*FvwmIconBoxKey         j       Down
*FvwmIconBoxKey         k       Up
*FvwmIconBoxKey         l       Right

############################################################################
# FvwmScrollBack
#
*FvwmScrollBack grey40
*FvwmScrollFore green

############################################################################
# FvwmAudio
#
#*FvwmAudioPlayCmd /usr/local/bin/AF/aplay -d 0 -t -.05
#*FvwmAudioDir /usr/sound/fvwm
#*FvwmAudio startup goodmorning.au
#*FvwmAudio shutdown destruct.au
#*FvwmAudio unknown cat-1.au
#*FvwmAudio destroy_window oh_my_god.au
*FvwmAudio iconify flush.au
*FvwmAudio deiconify eject.au

#*FvwmAudio add_window    ??
#*FvwmAudio toggle_paging ??

#*FvwmAudioDelay 3

#*FvwmAudio focus_change goodmorning.au
#*FvwmAudio raise_window goodmorning.au
#*FvwmAudio lower_window goodmorning.au

############################################################################
# FvwmForm
#
# FvwmForm alias - rlogin to host via term
#FvwmForm Rlogin
#*RloginWarpPointer
#*RloginFont         *helvetica*m*r*n*14*
#*RloginButtonFont   *helvetica*m*o*n*14*
#*RloginInputFont    *cour*m*r*n*14*
#*RloginFore         Black
#*RloginBack         Light Gray
#*RloginItemFore          Wheat
#*RloginItemBack          Gray50
## begin items
#*RloginLine         center
#*RloginText         "Login to Remote Host"
#*RloginLine         center
#*RloginText         "Host:"
#*RloginInput        HostName  20   ""
#*RloginLine         center
#*RloginSelection    UserSel   single
#*RloginChoice       Default   Default   on   "same user"
#*RloginChoice       Custom    Custom    off  "user:"
#*RloginInput        UserName  10   ""
#*RloginLine         expand
#*RloginButton       quit "Login" ^M
#*RloginCommand Exec exec TERM -T term@$(HostName) -e rlogin $(HostName) $(Custom?-l $(UserName))
#*RloginButton       restart   "Clear"
#*RloginCommand Beep
#*RloginButton       quit "Cancel"
#*RloginCommand Nop
##
## FvwmForm alias - query exit ala mwm
#FvwmForm QuitVerify
#*QuitVerifyGrabServer
#*QuitVerifyWarpPointer
#*QuitVerifyFont          *helvetica*m*r*n*14*
##*QuitVerifyButtonFont    *helvetica*m*o*n*14*
#*QuitVerifyButtonFont    7x13bold
#*QuitVerifyFore          Black
#*QuitVerifyBack          Light Gray
#*QuitVerifyItemFore Wheat
#*QuitVerifyItemBack Gray50
## begin items
#*QuitVerifyLine          center
#*QuitVerifyText          "Do you really want to exit FVWM?"
#*QuitVerifyLine          expand
#*QuitVerifyButton   quit      " Exit "
#*QuitVerifyCommand  Quit
#*QuitVerifyButton   quit      "Cancel"
#*QuitVerifyCommand  Nop
#
##
## MyTalk & MyFvwmTalk from Dave Goldberg
## MyTalk Form - dissappears after use
#FvwmForm MyTalk
#*MyTalkWarpPointer
#*MyTalkFont *helvetica*m*r*n*14*
#*MyTalkButtonFont *helvetica*m*o*n*14*
#*MyTalkInputFont *cour*m*r*n*14*
#*MyTalkFore Red
#*MyTalkBack Gray
#*MyTalkItemFore Blue
#*MyTalkItemBack Gray
#*MyTalkLine center
#*MyTalkText "Fvwm Function"
#*MyTalkInput Func 40 ""
#*MyTalkLine expand
#*MyTalkButton quit "Run" ^M
#*MyTalkCommand $(Func)
#*MyTalkButton restart "Clear" ^R
#*MyTalkButton quit "Cancel" ^C
#*MyTalkCommand Nop
##
## MyFvwmTalk Form - sticks around
#FvwmForm MyFvwmTalk
#*MyFvwmTalkWarpPointer
#*MyFvwmTalkFont *helvetica*m*r*n*14*
#*MyFvwmTalkButtonFont *helvetica*m*o*n*14*
#*MyFvwmTalkInputFont *cour*m*r*n*14*
#*MyFvwmTalkFore Red
#*MyFvwmTalkBack Gray
#*MyFvwmTalkItemFore Blue
#*MyFvwmTalkItemBack Gray
#*MyFvwmTalkLine center
#*MyFvwmTalkText "Fvwm Function"
#*MyFvwmTalkInput Func 40 ""
#*MyFvwmTalkLine expand
#*MyFvwmTalkButton restart "Run" ^M
#*MyFvwmTalkCommand $(Func)
#*MyFvwmTalkButton restart "Clear" ^R
#*MyFvwmTalkCommand Nop
#*MyFvwmTalkButton restart "Iconify" ^Z
#*MyFvwmTalkCommand Next [MyFvwmTalk] Iconify
#*MyFvwmTalkButton quit "Quit" ^C
#*MyFvwmTalkCommand Nop

This is the page http://phd.pp.ru/Software/dotfiles/fvwm2rc.html. It was generated on Sun, 27 Sep 2009 11:48:57 GMT from CheetahTemplate fvwm2rc.tmpl. Some rights are reserved. Read more about technical aspects of the site.