#This is a comment #Fvwm configuration #FuncFvwmSetFont-WindowTitle * -*-helvetica-bold-r-normal-*-12-* #FuncFvwmSetFont-IconTitle * -*-fixed-medium-r-semicondensed-*-13-* Colorset 0 fg black, bg #60a0c0 Colorset 1 fg white, bg #c06077 Style "*" BorderWidth 5, HandleWidth 5 Style "*" FvwmBorder, FirmBorder Style "*" Colorset 0 Style "*" HilightColorset 1 Style "*" UseDecor fDecor Style "*" Button 1, Button 2, Button 4, Button 6 Style "*" MWMButtons Style "*" MWMDecor, MWMFunctions, HintOverride, MinOverLapPlacement Style "*" NoPPosition IconFont fixed TitleStyle Height 18 # AddToDecor allows for things like vector buttons to be defined. This is # deprecated and plans for AddToDecor fDecor + BorderStyle Simple + TitleStyle -- Raised + ButtonStyle All -- Raised + AddButtonStyle 1 Vector 5 25x40@1 25x60@1 75x60@0 75x40@0 25x40@1 #+ AddButtonStyle 2 Vector 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 + AddButtonStyle 2 Vector 4 50x25@1 75x75@0 25x75@0 50x25@1 + AddButtonStyle 4 Vector 4 50x75@1 25x25@1 75x25@1 50x75@0 + ButtonStyle 1 - Clear MWMDecorMenu #+ ButtonStyle 2 - Clear + ButtonStyle 2 - Clear MWMDecorMax + ButtonStyle 4 - Clear MWMDecorMin Style "*" Font -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-* ################# ClickTime 550 ##### # Use 9 pages per desktop, arranged in a square, like this: # # +-----+-----+-----+ # | | | | # +-----+-----+-----+ # | | | | # +-----+-----+-----+ # | | | | # +-----+-----+-----+ ################# DeskTopSize 3x3 ###### # Use an arrow rather than the `X` cursor on the root window. ################# CursorStyle root top_left_arrow ##### # OpaqueMoveSize allows you to stop Large windows from being moved opaquely, # I like the effect, and have Cycles to burn, so all windows can use it. # SnapAttraction lets nearby windows snap together, or snap to edges so # that they # are easier to align on your desktop, The default is off, if you set it # too large it's annoying as hell, 3 pixels is just right. ################# OpaqueMoveSize -1 SnapAttraction 3 SameType # Handle some Mouse bindings now... # Recall that mouse formats look like this: # # +------------+ # | || || || | # | | # +------------+ # 1 3 2 # Binding Functions # # "I" stands for Immediate # "M" stands for Motion # "C" stands for Click # "H" stands for Hold # "D" stands for Double Click # --------------------------------------------------------------------------- # Contexts: # R = Root Window rrrrrrrrrrrrrrrrrrrrrr # W = Application Window rIrrrrFSSSSSSSSSFrrrrr # F = Frame Corners rrrrrrS13TTTT642Srrrrr # S = Frame Sides rIrrrrSwwwwwwwwwSrrrrr # T = Title Bar rrrrrrSwwwwwwwwwSrrrrr # I = Icon rIrrrrFSSSSSSSSSFrrrrr # rrrrrrrrrrrrrrrrrrrrrr # Numbers are buttons: 1 3 5 7 9 0 8 6 4 2 # # Modifiers: (A)ny, (C)ontrol, (S)hift, (M)eta, (N)othing # --------------------------------------------------------------------------- # click in the root menu Mouse 1 R A Menu FvwmMenuRoot Mouse 2 R A WindowList Mouse 3 R A Menu FvwmMenuWindowOps Mouse 1 SFT A FuncFvwmMoveOrRaiseOrShade Mouse 1 SFT S FuncFvwmResizeOrRaiseOrShade Maximize Mouse 1 I A FuncIconifyDeIconify Mouse 3 I A Menu FvwmMenuWindowOps Mouse 0 1 A FuncWindowOpsOrClose Mouse 0 4 A FuncIconifyDeIconify Mouse 0 2 A FuncFvwmMaximizeFullScreen # Menu styles... MenuStyle MWM MenuStyle * Font -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-* ############################################################## #These taken from fvwm-themes 'default' theme. MenuStyle * Hilight3DThickness 2 MenuStyle * PopupDelayed, PopupDelay 150, PopdownDelayed, PopdownDelay 150 MenuStyle * PopupOffset -15 100, TitleWarpOff MenuStyle * TitleUnderlines2, SeparatorsLong, TrianglesRelief MenuStyle * Animation, AutomaticHotkeysOff, DoubleClickTime MenuStyle * BorderWidth 2, SidePic, SideColor MenuStyle * PopupAsSubmenu, HoldSubmenus, SubmenusRight MenuStyle * ItemFormat "%.4s%.1|%.5i%.5l%.5l%.5r%.5i%2.3>%1|" MenuStyle * VerticalItemSpacing, VerticalTitleSpacing BusyCursor DynamicMenu True ##-misc-fixed-*--14-*-my_utf8-36/iso10646-1 # functions DestroyFunc FuncFvwmMoveOrRaiseOrShade AddToFunc FuncFvwmMoveOrRaiseOrShade + H Move + M Move + C Raise + D WindowShade DestroyFunc FuncFvwmResizeOrRaiseOrShade AddToFunc FuncFvwmResizeOrRaiseOrShade + H Resize $0 + M Resize $0 + C Raise + D WindowShade DestroyFunc FuncFvwmMoveOrRaiseLower AddToFunc FuncFvwmMoveOrRaiseLower + H Move + M Move + C RaiseLower DestroyFunc FuncFvwmMoveOrIconify AddToFunc FuncFvwmMoveOrIconify + M Move + D Iconify DestroyFunc FuncFvwmMaximizeFullScreen AddToFunc FuncFvwmMaximizeFullScreen + I ThisWindow (Maximized) WindowStyle Title, Borders + I TestRc (!Match) WindowStyle !Title, !Borders + I TestRc (!Match) Raise + I TestRc (!Match) UpdateStyles + I Maximize ewmhiwa DestroyFunc FuncFvwmWindowOpsOrAction AddToFunc FuncFvwmWindowOpsOrAction + I Menu MenuFvwmWindowOps2 $* DestroyFunc FuncIconifyDeIconify AddToFunc FuncIconifyDeIconify + C ThisWindow (!Iconic) Iconify + D ThisWindow (Iconic) Iconify DestroyFunc FuncWindowOpsOrClose AddToFunc FuncWindowOpsOrClose + C Menu FvwmMenuWindowOps + D Close DestroyMenu "FvwmMenuWindowOps" AddToMenu "FvwmMenuWindowOps" "WindowOps" Title + "Move" Pick Move #+ Function FvwmFuncMoveOrRaiseLower + "Resize" Pick Resize #+ Function FuncFvwmResizeOrRaiseOrShade + "Raise" Raise + "Lower" Lower + "(De)Iconify" Iconify + "(Un)Stick" Stick + "(Un)Maximize" Function FuncFvwmMaximizeFullScreen + "" Nop + "Close" Close + "Delete" Delete + "Destroy" Destroy + "" Nop + "Refresh Screen" Refresh DestroyMenu "FvwmMenuWindowOps2" AddToMenu "FvwmMenuWindowOps2" + "Move" Pick Move #+ Function FvwmFuncMoveOrRaiseLower + "Resize" Pick Resize #+ Function FuncFvwmResizeOrRaiseOrShade + "Raise" Raise + "Lower" Lower + "Iconify" Iconify + "(Un)Stick" Stick + "" Nop + "Close" Close + "Destroy" Destroy + "Delete" Delete + "" Nop + "ScrollBar" Module FvwmScroll 2 2 DestroyMenu "FvwmMenuRoot" AddToMenu "FvwmMenuRoot" "Root Menu" Title + MissingSubmenuFunction Beep + "Shells" Popup FvwmMenuShellsPopup + "Editors" Popup FvwmMenuEditorsPopup + "Internet" Popup FvwmMenuInternetPopup + "" Nop + "Window Operations" Popup FvwmMenuWindowOps2 DestroyMenu "FvwmMenuShellsPopup" AddToMenu "FvwmMenuShellsPopup" "Shells" Title + "rxvt (normal)" Exec exec rxvt -bg white -fg black + "" Nop + "xterm (normal)" Exec exec xterm + "xterm (blue)" Exec exec xterm -bg blue -fg white + "" Nop DestroyMenu "FvwmMenuEditorsPopup" AddToMenu "FvwmMenuEditorsPopup" + MissingSubmenuFunction Beep + "Console" Popup FvwmSubEditorsConsole + "X11" Popup FvwmSubEditorsX11 DestroyMenu "FvwmSubEditorsConsole" AddToMenu "FvwmSubEditorsConsole" "Editors - Console" Title + MissingSubmenuFunction Beep + "vi" Exec exec xterm -bg white -fg black -e vim + "nano" Exec exec xterm -bg white -fg black -e nano DestroyMenu "FvwmSubEditorsX11" AddToMenu "FvwmSubEditorsX11" "Editors - X11" Title + MissingSubmenuFunction Beep + "gvim" Exec exec gvim + "xless" Exec exec xless + "Xemacs" Exec exec xemacs DestroyMenu "FvwmMenuInternetPopup" AddToMenu "FvwmMenuInternetPopup" + "Browsers" Popup FvwmSubInternetBrowsers + "Mail" Popup FvwmSubInternetMail + "IRC" Popup FvwmSubInternetIRC DestroyMenu "FvwmSubInternetBrowsers" AddToMenu "FvwmSubInternetBrowsers" "Console" Title + "links" Exec exec rxvt -bg white -fg black -e 'links' + "lynx" Exec exec rxvt -bg white -fg black -e 'lynx' + "elinks" Exec exec rxvt -bg white -fg black -e 'elinks' + "X11" Title + "Mozilla" Exec exec mozilla + "Firefox" Exec exec firefox + "Dillo" Exec exec dillo + "XLinks" Exec exec links -g