# # Evilwm-Like Config for Fvwm # A. Textor (texray@kantico.de) # # - No Windowborders # - No Dockapps # - No titlebars # - No Menus (well, there is a small one, read below) # # Bindings: # Note: Mod4 is the "Windows"-Key on most modern keyboards # Mod4 + Left -> Switch workspace To left # Mod4 + Right -> Switch workspace to right # Mod4 + [1-6] -> Switch workspace to the corresponding number # Mod4 + Esc -> Close focused window # Mod4 + q -> Same as above # Mod4 + x -> (De)Maximize focused window # Mod4 + Enter -> Open xterm (change to your favorite terminalemulator) # Mod4 + f -> Make focused window sticky # Alt + Tab -> Default fvwm builtin (not unbound) # Mod4 + rightclick on rootwindow -> Open minimal menu # Mod4 + leftclick on any window (and drag) -> Move window # Mod4 + rightclick on any window (and drag) -> Resize Window # # Some minor differences to Evilwm: # - Minimal menu on rootwindow (contains terminal, restart and quit) # - "Edgeflipping" with a delay of 500ms # - Mozilla Firefox always appears on workspace 2 # # Requirements: # - You should have the Terminus-Font installed # (if you don't, fetch it from http://www.is-vn.bg/hamster/jimmy-en.html ) # - You should bind a thing like grun to a key for quick access to # several applications. For this purpose I use xbindkeys and the "Go"-Key # on my Logitech Cordless Desktop Keyboard. ############################################################################# # Misc Options ############################################################################# EdgeResistance 500 50 EdgeThickness 1 ClickTime 750 OpaqueMoveSize unlimited DeskTopSize 6x1 SnapAttraction 20 All Screen DefaultFont -xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso8859-15 IgnoreModifiers 2 ############################################################################# # Styles ############################################################################# MenuStyle * fvwm, Foreground white, Background black, Greyed black MenuStyle * Font -xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso8859-15 MenuStyle * BorderWidth 1 ColormapFocus FollowsMouse # Use this font if you like truetypefonts in the titlebar #Style * Font xft:Verdana:pixelsize=14;-xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso8859-15 Style * Font -xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso8859-15 Style * IconFont -xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso8859-15 Style * HilightFore white, HilightBack black Style * BorderWidth 1, HandleWidth 1 Style * Color white/black Style * FocusFollowsMouse Style * TileCascadePlacement Style * ResizeOpaque # Comment the following line to display titlebars # (without any buttons or menus, though) Style * NoTitle Style * MouseFocusClickRaises Style *lock NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus *FvwmEvent-NewWindow: StartDelay 4 *FvwmEvent-NewWindow: add_window FuncFocusWindow ############################################################################# # Bindings ############################################################################# Mouse 1 R A Mouse 3 R 4 Menu MenuFvwmRoot Mouse 1 W M FuncFvwmMoveOrRaise Mouse 3 W M FuncFvwmResizeOrRaise Mouse 1 F A FuncFvwmResizeOrRaise Mouse 1 TS A FuncFvwmMoveOrRaise Key 1 A 4 GotoPage 0 0 Key 2 A 4 GotoPage 1 0 Key 3 A 4 GotoPage 2 0 Key 4 A 4 GotoPage 3 0 Key 5 A 4 GotoPage 4 0 Key 6 A 4 GotoPage 5 0 Key Left A 4 GotoPage -1p 0 Key Right A 4 GotoPage +1p 0 Key Escape A 4 Close Key Q A 4 Close Key X A 4 Maximize 100 100 Key Return A 4 Exec exec xterm Key F A 4 Stick ############################################################################# # Initialization Functions ############################################################################# AddToFunc InitFunction + I exec xsetroot -solid "#283242" + I exec xsetroot -cursor_name left_ptr AddToFunc StartFunction I FvwmEvent FvwmEvent-NewWindow ############################################################################# # Menus ############################################################################# DestroyMenu MenuFvwmRoot AddToMenu MenuFvwmRoot "root menu" Title + "terminal" Exec exec xterm + "" Nop + "restart" Restart + "quit" Quit DestroyFunc FuncFocusWindow AddToFunc FuncFocusWindow + I ThisWindow ("gRun 0.9.2") Move 45 45 + I ThisWindow ("Mozilla Firefox") MoveToPage 1 0 + I Focus DestroyFunc FuncFvwmMoveOrRaise AddToFunc FuncFvwmMoveOrRaise + I Raise + M Move + D Lower DestroyFunc FuncFvwmResizeOrRaise AddToFunc FuncFvwmResizeOrRaise + I Raise + M Resize + D Lower