# -*- coding: utf-8 -*-
#
#~/.fvwm2rc An CDE Style Configuration by gnosis@infinet.com 9-16-96 (Mike H.)
#
# So many wonderful features have been added to Fvwm2, it has many, many 
# possibilities.  I'm rather partial to the the look of Digital's Dtwm, so
# I've done two things:  1.  Bring the colors to conform (more or less) to
# Dtwm/HP VUE defaults; design a button bar that looks like Dtwm/HP VUE's
# "Front Panel"
# 1.  You're going to have to edit ~/.Xdefaults, as well as your favorite
# applications "app-defaults" files to conform to the following colors.  Not
# all apps have to be edited - the ~/.Xdefaults file will alter most of them.
#
# 2.  I strongly urge you to install the Xaw3d libs available at Sunsite or its
# mirrors.  This really enhances the look of your apps, giving them motif-like
# slider bars, raised buttons, etc.  However, be prepared to lose Xcalc, Top,
# and Xfontsel.  They won't work with the Xaw3d library unless compiled with it.  # If anyone knows a way around this, let me know.
#
# 3.  Use the included screenshot (my default desktop) to get your icons. 
# 
# 4.  Slider bar foregrounds and backgrounds *should* be in your ~/.Xdefaults
# file.  The Xaw3d library includes several lines which must be in the 
# ~/Xdefaults file.  The "background" color set in ~/.Xdefaults pretty much
# takes care of most apps.
#
# 5.  THE DEFAULT Dtwm/HP VUE COLOR SCHEMES:
#     Light Gray = #aeb2C3   Backgrounds; unselected windows; slider bars
#     Dark Gray = #9296a6    Backgrounds of choice; slider bar backgrounds
#     Front Panel Button Blue = #718aa6   Color of the "Sun" logo.
#               
#     Palevioletred (sort of) = #a47591   VERY attractive selected window
#                                         color - I grabbed this from a 
#                                         Dtwm screenshot, though this isn't
#                                         the "default"
#     Darkvioletred (sort of) = #b24d7a   This is, I believe, the "default"
#                                         Dtwm selected window color.  Not 
#                                         nearly as nice as #a47591
# 6.  I'm sure I've forgotten something, but I'm also sure you'll want to 
#     change stuff anyway to suit your tastes....ENJOY!!!

#========================================================================#
ButtonStyle 2 5 25x25@1 25x75@1 75x75@0 75x25@0 25x25@1
ButtonStyle 4 5 45x45@1 55x45@1 55x55@0 45x55@0 45x45@1


HilightColor white #a47591

EdgeResistance 250 10
WindowFont		"StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=14;-adobe-helvetica-medium-r-*-*-*-140-*-*-*-*-*-*"
IconFont		"StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:style=bold:size=10;-adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*"
#========================================================================#

OpaqueMoveSize 100
EdgeScroll 100 100
EdgeResistance 10000 0

Style "*" RandomPlacement

Style "*" NoPPosition

#========================================================================#

DeskTopSize 2x2
MenuStyle * Foreground black, Background #aeb2c3, Font "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=14;-adobe-helvetica-medium-r-*--14"

#========================================================================#

# You'll need to set these to your default paths:
ModulePath /usr/X11R6/lib/X11/cdesim:/usr/X11R6/lib/X11/fvwm2:/usr/X11R6/lib/X11/fvwm95
PixmapPath /usr/X11R6/lib/X11/cdesim:/usr/X11R6/include/X11/pixmaps/:/usr/X11R6/include/X11/3dpixmaps::/usr/X11R6/include/X11/3dpixmaps/next:/usr/X11R6/include/X11/3dpixmaps/normal:/usr/X11R6/include/X11/3dpixmaps/small
IconPath   /usr/X11R6/include/X11/bitmaps/:/usr/X11R6/lib/X11/fvwm2/pixmaps:/usr/X11R6/include/X11/pixmaps:/usr/X11R6/include/X11/3dpixmaps::/usr/X11R6/include/X11/3dpixmaps/next:/usr/X11R6/include/X11/3dpixmaps/normal:/usr/X11R6/include/X11/3dpixmaps/small

#========================================================================#

# Some default settings:

Style "*"            ClickToFocus
Style "*"	     ForeColor Black
Style "*"            BackColor #aeb2c3
Style "*"	     MWMBorder
Style "*"     	     MWMButtons
Style "*"            MWMFunctions
Style "*"            HintOverride
Style "*"            MWMDecor
Style "*"            DecorateTransient
Style "*"            IconBox 5 -740 10 -5

# A Borderwidth/handlewidth setting of "5" (Style "Fvwm*") is actually closer
# to CDE - but I found that there's too much hilight, giving a much to "rounded"
# look.  No setting (except the following button bar border) is more attractive.

Style "Fvwm*"        NoTitle, Sticky, WindowListSkip, NoHandles
Style "Fvwm Pager"   StaysOnTop, NoHandles
Style "FvwmBanner"   StaysOnTop
Style "FvwmButtons"  BorderWidth 0, NoHandles
Style "FvwmButtons"  NoHandles, Sticky
Style "FvwmButtons"  CirculateHitIcon,WindowListSkip
Style "*lock"        NoTitle, NoHandles, Sticky, WindowListSkip
Style "xbiff"        NoTitle,            Sticky, WindowListSkip
Style "rxvt"       Icon xterm2.xpm
Style "xterm"      Icon xterm2.xpm
Style "Appointment" Icon datebook.xpm
Style "xcalc"      Icon calc.xpm
Style "xbiff"      Icon mail1.xpm
Style "xmh"        Icon mail1.xpm, StartsOnDesk 2
Style "xman"	   Icon xman.xpm
Style "xvgr"	   Icon graphs.xpm
Style "matlab"	   Icon math4.xpm
Style "xmag"	   Icon mag_glass.xpm
Style "xgraph"	   Icon graphs.xpm
Style "xv"         Icon xview.xpm
Style "FvwmButtons"  Icon vuefile2.xpm
Style "xconsole"   Icon koala.xpm
Style "xsession"   Icon koala.xpm
Style "editor"     Icon vuetext.xpm
Style "ghostview"  Icon gv.xpm
Style "knews"      Icon news2.xpm
Style "xpaint"     Icon 3dpaint.xpm
Style "tkdesk"     Icon vuefile1a.xpm
Style "Dialer"     Icon vuemail.xpm
Style "tkdir"      Icon vuefile1.xpm
Style "fr"         Icon vuefile1b.xpm

#========================================================================#

#
# Stuff to do at start-up
#

AddToFunc "InitFunction"     "I" Exec xpmroot /usr/X11R6/include/X11/pixmaps/raindrop.xpm &
+                            "I" Module FvwmButtons

AddToFunc "RestartFunction"  "I" Module FvwmButtons
+                            "I" Exec xpmroot /usr/X11R6/include/X11/pixmaps/raindrop.xpm & 


#========================================================================#
# These work pretty well, and are from the default fvwm2-95 config file:

# Now define some handy complex functions

#
# This one moves and then raises the window if you drag the mouse,
# only raises the window if you click, or does a full maximize if 
# you double click
#
AddToFunc "Move-or-Raise" "M" Move
+                         "M" Raise
+                         "C" Raise
+                         "D" Maximize 100 100

#
# This one moves and then lowers the window if you drag the mouse,
# only lowers the window if you click, or does a RaiseLower if you double 
# click
#
AddToFunc "Move-or-Lower" "M" Move
+                         "M" Lower
+                         "C" Lower
+                         "D" RaiseLower

#
# This one moves or (de)iconifies:
#
AddToFunc "Move-or-Iconify" "M" Move
+                           "D" Iconify

#
# This one resizes and then raises the window if you drag the mouse,
# only raises the window if you click,  or does a RaiseLower if you double 
# click
#
AddToFunc "Resize-or-Raise" "M" Resize
+                           "M" Raise
+                           "C" Raise
+                           "D" RaiseLower


#========================================================================#

#
# Menus!
#

AddToMenu "Terminals" "Terminals" Title
+ "Xterm/bash%mini-term.xpm%"	Exec xterm -T "Terminal" -bg \#fff7eb -sb -j -ls -fn 7x14 &
+ "Xterm/tcsh   (7x14 font)%mini-term.xpm%"     Exec xterm -e tcsh -sb -sl 500 -j -ls -fn 7x14 &
+ "Xterm/sh     (7x14 font)%mini-term.xpm%"     Exec xterm -e sh -sb -sl 500 -j -ls -fn 7x14 &
+ "Color Rxvt	(VT100)%mini-term.xpm%"		Exec rxvt -ls &
#+ ""					    	Nop
#+ "Large Xterm	(10x20 font)%mini-term.xpm%" 	Exec xterm -sb -sl 500 -j -ls -fn 10x20 &
#+ "Large Rxvt	(10x20 font)%mini-term.xpm%" 	Exec rxvt -font 10x20 -ls &
+ "Seyon%mini-term.xpm%"  	Exec seyon -modem /dev/modem &


AddToMenu "Editors" "Editors" Title
+ "Textedit%mini-edit.xpm%"     Exec textedit &
+ "Editor%mini-edit.xpm%"	Exec editor &
+ "Tkedit%mini-edit.xpm%"       Exec tkedit &
+ "Xless%mini-display.xpm%"     Exec xless &

AddToMenu "Filemanagers" "Filemanagers" Title
+ "Moxfm%mini-filemgr.xpm%"	Exec moxfm &
+ "FileRunner%mini-filemgr.xpm%"  Exec fr &
+ "Tkdir%mini-filemgr.xpm%"     Exec tkdir &

AddToMenu "Graphics" "Graphics" Title
+ "The Gimp%mini.xpaint.xpm%"   Exec gimp &
+ "Xview%mini-xv.xpm%"		Exec xv &
+ "Xpaint%mini-paint.xpm%"	Exec xpaint &
+ "Bitmap Editor%mini-paint.xpm%" Exec bitmap &
+ "Xcolorsel%mini-colors.xpm%"  Exec xcolorsel &
+ "Xfractint%mini-fractal.xpm%"	Exec rxvt -font 7x14 -e xfractint map=chroma &

AddToMenu "Internet" "Internet" Title
+ "Dialer%mini-display.xpm%"          Exec Dialer &
+ "ppp-on%mini-display.xpm%"          Exec ppp-on &
+ "ppp-off%mini-display.xpm%"         Exec ppp-off &

AddToMenu "Screensaver" "Screensaver" Title
+ "Bat%mini-bball.xpm%"		Exec xlock -nolock -nice 0 -mode bat &
+ "Blank%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode blank &
+ "Blot%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode blot &
+ "Bounce%mini-bball.xpm%" 	Exec xlock -nolock -nice 0 -mode bounce &
+ "Flame%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode flame &
+ "Galaxy%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode galaxy &
+ "Grav%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode grav &
+ "Helix%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode helix &
+ "Hop%mini-bball.xpm%"		Exec xlock -nolock -nice 0 -mode hop &
+ "Hyper%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode hyper &
+ "Kaleid%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode kaleid &
+ "Life%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode life &
+ "Life3d%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode life3d &
+ "Maze%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode maze &
+ "Pyro%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode pyro &
+ "Qix%mini-bball.xpm%"		Exec xlock -nolock -nice 0 -mode qix &
+ "Random%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode random &
+ "Rect%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode rect &
+ "Rock%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode rock &
+ "Rotor%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode rotor &
+ "Sphere%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode sphere &
+ "Spline%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode spline &
+ "Swarm%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode swarm &
+ "Wator%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode wator &
+ "Worm%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode worm &
+ "World%mini-bball.xpm%"	Exec xlock -nolock -nice 0 -mode world &

AddToMenu "Screenlock" "Lock Screen" Title
+ "Bat%mini-rball.xpm%"		Exec xlock -nice 0 -mode bat &
+ "Blank%mini-rball.xpm%"	Exec xlock -nice 0 -mode blank &
+ "Blot%mini-rball.xpm%"	Exec xlock -nice 0 -mode blot &
+ "Bounce%mini-rball.xpm%"	Exec xlock -nice 0 -mode bounce &
+ "Flame%mini-rball.xpm%"	Exec xlock -nice 0 -mode flame &
+ "Galaxy%mini-rball.xpm%"	Exec xlock -nice 0 -mode galaxy &
+ "Grav%mini-rball.xpm%"	Exec xlock -nice 0 -mode grav &
+ "Helix%mini-rball.xpm%"	Exec xlock -nice 0 -mode helix &
+ "Hop%mini-rball.xpm%"		Exec xlock -nice 0 -mode hop &
+ "Hyper%mini-rball.xpm%"	Exec xlock -nice 0 -mode hyper &
+ "Kaleid%mini-rball.xpm%"	Exec xlock -nice 0 -mode kaleid &
+ "Life%mini-rball.xpm%"	Exec xlock -nice 0 -mode life &
+ "Life3d%mini-rball.xpm%"	Exec xlock -nice 0 -mode life3d &
+ "Maze%mini-rball.xpm%"	Exec xlock -nice 0 -mode maze &
+ "Pyro%mini-rball.xpm%"	Exec xlock -nice 0 -mode pyro &
+ "Qix%mini-rball.xpm%"		Exec xlock -nice 0 -mode qix &
+ "Random%mini-rball.xpm%"	Exec xlock -nice 0 -mode random &
+ "Rect%mini-rball.xpm%"	Exec xlock -nice 0 -mode rect &
+ "Rock%mini-rball.xpm%"	Exec xlock -nice 0 -mode rock &
+ "Rotor%mini-rball.xpm%"	Exec xlock -nice 0 -mode rotor &
+ "Sphere%mini-rball.xpm%"	Exec xlock -nice 0 -mode sphere &
+ "Spline%mini-rball.xpm%"	Exec xlock -nice 0 -mode spline &
+ "Swarm%mini-rball.xpm%"	Exec xlock -nice 0 -mode swarm &
+ "Wator%mini-rball.xpm%"	Exec xlock -nice 0 -mode wator &
+ "Worm%mini-rball.xpm%"	Exec xlock -nice 0 -mode worm &
+ "World%mini-rball.xpm%"	Exec xlock -nice 0 -mode world &

AddToMenu "Games" "Games" Title
+ "Maze"		        Exec maze &
+ "Spider"                      Exec exec spider &
+ "Xboard"	                Exec xboard &
+ "Xeyes"               	Exec xeyes &
+ "Xlander" 			Exec exec xlander &
+ "Xlogo"         		Exec xlogo &
+ "Xmahjongg"	                Exec exec xmahjongg &
+ "Xroach"               	Exec exec xroach &
+ "Xtetris"	                Exec xtetris &
+ "Xvier"                       Exec exec xvier &
+ "Xoids"                       Exec xoids &

AddToMenu "Applications" "Applications" Title
#+ "infinet.com%mini-x2.xpm%"    Exec ppp-on &
+ "Netscape%mini.netscape.xpm%"	Exec netscape -geometry 725x715+157+5 &
+ "Knews%mini-x.xpm%"		Exec knews -geometry 650x650+45+35 &
+ "Xftp%mini-x.xpm%"            Exec xftp &
+ "Xess%mini-x.xpm%"            Exec xess3 &
+ "Xspread%mini-x.xpm%"         Exec xspread &
+ "Xclock%mini-clock.xpm%"      Exec xclock &
+ "Oclock%mini-clock.xpm%"      Exec oclock &

#
# This menu is invoked as a sub-menu - it allows you to quit,
# restart, or switch to another WM.
#
AddToMenu "Quit-Verify" "Really Quit Fvwm?" Title
+ "Restart%mini-turn.xpm%"		Restart cdesim
+ "" 					Nop
+ "Start fvwm2"				Restart .fvwm2
+ "Start fvwm95"		        Restart .fvwm95
+ "Start olvwm%mini-olwm.xpm%"		Restart /usr/openwin/bin/olvwm
+ "Start olwm%mini-olwm.xpm%"           Restart /usr/openwin/bin/olwm
+ "Start mwm"                           Restart mwm
+ "" 					Nop
+ "Yes, Really Quit%mini-exclam.xpm%"	Quit
+ "No, Don't Quit%mini-cross.xpm%" 	Nop

#
# Provides a list of modules to fire off
#
AddToMenu "Module-Popup" "Modules" Title
+ "Buttons"				Module FvwmButtons
+ "Task bar" 				Module FvwmTaskBar
+ "Identify%mini-question.xpm%"		Module FvwmIdent
+ "Debug%mini-bug2.xpm%"		Module FvwmDebug
+ "Pager"				Module FvwmPager 0 3
+ "Window List%mini-windows.xpm%"	Module FvwmWinList
+ "Talk"				Module FvwmTalk
+ "Configure%mini-hammer.xpm%"		Module FvwmConfig
+ "IconMan"                             Module FvwmIconMan
+ "Audio"                               Module FvwmAudio
+ "Console"                             Module FvwmConsole

#
# This menu will fire up some very common utilities
#
AddToMenu "Utilities" "Utilities" Title
+ "Internet%mini-term.xpm%"             Popup Internet
+ "Filemanagers%mini-filemgr.xpm%"      Popup Filemanagers
+ "Applications%mini-x2.xpm%"            Popup Applications
+ "Editors%mini-edit.xpm%"              Popup Editors
+ "Terminals%mini-term.xpm%"		Popup Terminals
+ "Graphics%mini.xpaint.xpm%"           Popup Graphics
+ "Games%mini-x.xpm%"                   Popup Games
+ ""					Nop
+ "Screensaver%mini-rball.xpm%"	        Popup Screensaver
+ "Lock Screen%mini-bball.xpm%"		Popup Screenlock
+ ""					Nop
+ "Modules%mini-modules.xpm%"		Popup Module-Popup
+ ""					Nop
+ "Refresh Screen%mini.fvwm.xpm"	Refresh
+ ""					Nop
+ "Exit Fvwm%mini.exit.xpm%"		Popup Quit-Verify

#
# This defines the most common window operations
#
AddToMenu "Window" "Window Ops" Title
+ "&Move"                     Function Move-or-Raise
+ "&Resize"                   Function Resize-or-Raise
+ "R&aise%mini-raise.xpm%"    Raise
+ "&Lower%mini-lower.xpm%"    Lower
+ "(De)Iconify"               Iconify
+ "(Un)Stick"                 Stick
+ "(Un)Maximize"              Maximize 100 100
+ ""                          Nop
+ "Exit"                      Destroy
+ "&Close"                    Delete
+ ""                          Nop
+ "Switch to..."              WindowList
+ "Refresh Screen%mini-ray.xpm%" Refresh

#
# A trimmed down version of "Window Ops", good for binding to decorations
#
AddToMenu "Window-Ops2" "&Restore"        Iconify -1
+                       "&Move"           Move-or-Raise
+                       "&Size"           Resize-or-Raise
+                       "Mi&nimize"       Iconify 1
+                       "Ma&ximize"       Maximize 100 100
+                       "&Scrollbar"      Module FvwmScroll 2 2
+                       ""                Nop
+                       "&Exit"          Destroy
+                       "&Close	Alt+F4"   Delete

#========================================================================#

# This creates the "system" menu for the title-bar window-ops
# pop-up (from fvwm2rc95)
#
AddToFunc "window_ops_func" "C" PopUp Window-Ops2
+              "M" PopUp Window-Ops2
+              "D" Delete  


#========================================================================#

#
# Mouse bindings
#

# First, for the mouse in the root window
# Button 1 gives the Utilities menu
# Button 2 gives the Window Ops menu
# Button 3 gives the WindowList (like TwmWindows)
# I use the AnyModifier (A) option for the modifier field, so you can hold down
# any shift-control-whatever combination you want!

#     Button	Context Modifi 	Function
Mouse 1		R   	A       Menu "Utilities" Nop
Mouse 2		R    	A       Menu "Window Ops" Nop
Mouse 3         R       A       WindowList
#Mouse 3	R    	A      	Module "winlist" FvwmWinList transient

# Now the title bar buttons
# Any button in the left title-bar button gives the window ops menu
# Any button in the first right title-bar button Iconifies the window
# Any button in the second title-bar button full-maximizes
# Any button in the third (rightmost) title-bar button closes
# Note the use of "Mouse 0" for AnyButton.

#     Button	Context Modif 	Function
#Mouse 0		1    	A      	Function "window_ops_func"
#Mouse 1         2       A       Delete
#Mouse 0		4    	A     	Maximize 100 100
#Mouse 0		6    	A     	Iconify
Mouse 0 1 A Function "window_ops_func"
Mouse 0 2 A Delete
Mouse 0 4 A Iconify
#
# Now the rest of the frame
# Here I invoke my complex functions for Move-or-lower, Move-or-raise,
# and Resize-or-Raise. 
#
# Button 1 in the corner pieces, with any modifiers, gives resize or raise
Mouse 1		F	A	Function "Resize-or-Raise"
# Button 1 in the title, sides, or icon, w/ any modifiers, gives move or raise
Mouse 1		TS	A	Function "Move-or-Raise"

# Button 1 in an icons gives move for a drag, de-iconify for a double-click,
# nothing for a single click
# Button 2 in an icon, w/ any modifiers, gives de-iconify
Mouse 1		I	A	Function "Move-or-Iconify"
Mouse 2		I	A	Iconify

# Button 2 in the corners, sides, or title-bar gives the window ops menu
Mouse 2		FST	A	Function "window_ops_func"

# Button 3 anywhere in the decoration (except the title-bar buttons)
# does a raise-lower
#Mouse 3		TSIF	A	RaiseLower

# Button 3 in the window, with the Modifier-1 key (usually alt or diamond)
# gives Raise-Lower. Used to use control here, but that interferes with xterm
#Mouse 3         W       M       RaiseLower

#========================================================================#

# Now some keyboard shortcuts.

# Arrow Keys
# press arrow + control anywhere, and scroll by 1 page
Key Left	A	C	Scroll -100 0
Key Right	A	C	Scroll +100 +0
Key Up		A	C	Scroll +0   -100
Key Down	A	C	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

# Keyboard accelerators
Key F1		A	M	Popup "Utilities"
Key F1		A	M	Popup "Utilities"
Key F2		A	M	Popup "Window Ops"
Key F3		A	M	Module "WindowList" FvwmWinList 
Key F4		A	M	Iconify
Key F5		A	M	Move
Key F6		A	M	Resize

#Page Up/Dapge Down keys are used to scroll by one desktop page
# in any context, press page up/down + control
# in root context, just pressing page up/down is OK
# 
# I prefer the non-wrapping scroll. These are for example purposes only
#Key Next	A       C       Scroll 100000 0
#Key Next	R       N       Scroll 100000 0  
#Key Prior	A       C       Scroll -100000 0
#Key Prior	R       N       Scroll -100000 0

Key Tab         A       M       Prev Focus
Key Tab         A       MS      Next Focus

Key Escape      A       C       WindowList

#========================================================================#

# Definitions used by the modules

#------------------ Pager
*FvwmPagerBack #718aa6
*FvwmPagerFore black
*FvwmPagerFont "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:style=bold:size=10;-adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*"
*FvwmPagerHilight #aeb2c3
*FvwmPagerGeometry -1-1
*FvwmPagerLabel 0 Fvwm
*FvwmPagerSmallFont 5x8

#------------------ FvwmButtons: The CDE Front Panel (almost) !
*FvwmButtonsFore white
*FvwmButtonsBack #aeb2c3
*FvwmButtonsFont "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:style=bold:size=10;-adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*"
# Geometry - really likes to pick its own size, but giving a position is OK
*FvwmButtonsGeometry -77-2
# Layout: specify rows or columns, not both
*FvwmButtonsFrame 1
*FvwmButtonsPadding 0 0
*FvwmButtonsRows 1

# Here we go!
*FvwmButtons(1x1,Container(Rows 4,Frame -1,Padding 0 0))
*FvwmButtons - vueleft2.xpm             Menu Window-Ops2
*FvwmButtons - -                        Nop
*FvwmButtons - -                        Nop
*FvwmButtons - vuesubpanel.xpm          Menu Editors
*FvwmButtons - -                        Nop
*FvwmButtons(5x3,Container(Rows 1,Frame 0,Padding 0 0))
*FvwmButtons(Icon clock.xpm, \
             Swallow(UseOld) "xclock" 'Exec xclock -bg \\#aeb2c3 \
             -padding 7 -geometry -1500-1500 -fg Black -hd white -hl white -bd white &')
*FvwmButtons(Swallow(UseOld) "asclock" 'Exec asclock -12 \-shape \ -padding 2 &')
*FvwmButtons - vuefile1a.xpm            Menu Filemanagers
*FvwmButtons(Icon vuetext.xpm, \
             Action 'Exec "Editor" editor &')
*FvwmButtons - vuemail.xpm              Menu Internet
*FvwmButtons(End)
*FvwmButtons(End)

*FvwmButtons(1x1,Container(Rows 4,Frame 0,Padding 0 0))
*FvwmButtons - vuelock.xpm     Exec xlock -nice 0 -mode pyro &
*FvwmButtons - -                        Nop
*FvwmButtons - -                        Nop
*FvwmButtons - vuestart.xpm             Restart fvwm2
*FvwmButtons(4x3,Container(Rows 1,Frame 0,Padding 0 0))
*FvwmButtons(1x1) - -                   Nop
*FvwmButtons(2x1,Container(Columns 1,Frame 0,Padding 0 0))
*FvwmButtons(1x2,Container(Rows 2,Frame 1,Padding 0 0))
*FvwmButtons - vueone3.xpm              Desk 0 0 
*FvwmButtons - vuetwo3.xpm              Desk 0 1
*FvwmButtons - vuethree3.xpm            Desk 0 2
*FvwmButtons - vuefour3.xpm             Desk 0 3
*FvwmButtons(End)
*FvwmButtons - -                        Nop
*FvwmButtons(End)
*FvwmButtons - vueexit.xpm              Quit
*FvwmButtons(End)
*FvwmButtons(End)

# I haven't implemented the Printer or Trash Icons yet...
*FvwmButtons(1x1,Container(Rows 4,Frame -1,Padding 0 0)
*FvwmButtons - vuesubpanel.xpm          Menu Terminals
*FvwmButtons - -                        Nop
*FvwmButtons - -                        Nop
*FvwmButtons - vuesubpanel.xpm          Menu Games
*FvwmButtons - vueright.xpm             Iconify 1
*FvwmButtons(5x3,Container(Rows 1,Frame 0,Padding 0 0))
*FvwmButtons(Icon vueprint.xpm)
*FvwmButtons - vuepaint.xpm             Menu Graphics
*FvwmButtons - vuefile2.xpm             Menu Applications
*FvwmButtons(Icon vueman.xpm)
*FvwmButtons - vuetrash.xpm             Nop
*FvwmButtons(End)
*FvwmButtons(End)

#*FvwmButtons(2x1, Swallow(UseOld) "Fvwm" 'FvwmPager 0 0')

#------------------ Identify
*FvwmIdentBack #000080
*FvwmIdentFore Yellow
*FvwmIdentFont "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=12;-adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*"

#------------------ FvwmWinList
*FvwmWinListBack #c0c0c0
*FvwmWinListFore Black
*FvwmWinListFont "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:style=bold:size=10;-adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*"
*FvwmWinListAction Click1 Iconify -1,Focus
*FvwmWinListAction Click2 Iconify
*FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent
*FvwmWinListUseSkipList
*FvwmWinListGeometry +0-1
*FvwmWinListShowCurrentDesk
        



