############################################################################ # fvwm2 config for a 4Dwm-like experience # * Hard-coded for a 1920x1080 screen # * Some parts based on esr:s "big blue steel" config # * Some parts ripped from somewhere I can't remember - sorry! ############################################################################ ############################################################################ # Pager # FvwmPager can actually be configured to look a bit more like # 4dwm's desk overview, but I like the default compact look better. ############################################################################ DeskTopSize 2 3 EdgeScroll 0 0 *FvwmPagerBack gray65 *FvwmPagerFore black *FvwmPagerFont none *FvwmPagerHilight gray75 *FvwmPagerGeometry +1784+2 *FvwmPagerLabel FvwmPager *FvwmPagerSmallFont "xft:Arial:Regular::size=7" *FvwmPager: LabelsAbove ############################################################################ # Visual and behavioural styles for window borders etc ############################################################################ # Focused windows get the default beige SGI/4dwm colour HilightColor black #A59F80 # The background isn't default 4dwm but makes it easier to distinguish # inactive windows from active ones on modern low-budget flatscreens. Style "*" Color black/gray40 # Colorset for icons etc Colorset 17 fg black, bg #808080 # border width 7 seems to be a good approximation of 4dwm, # althought fvwm doesn't do the nice 4dwm dither of the 3d bevels. Style "*" BorderWidth 7, HandleWidth 7 # Window Placement Style "*" DumbPlacement # Window decorations Style * Title, Handles, !MWMFunctions, NoDecorHint Style "Fvwm*" NoTitle, Sticky, WindowListSkip, NoHandles, BorderWidth 7 Style "xload" NoTitle, Sticky, WindowListSkip, NoHandles, FPLenient, BorderWidth 7 Style "*lock" NoTitle, Sticky, WindowListSkip, NoHandles, BorderWidth 7 # Generic menu style MenuStyle black grey slategrey MenuStyle "*" Font xft:Loma:Italic::size=11 # Window and icon fonts are approximations of the Helvetica # variation used by SGI. WindowFont "xft:Loma:Bold:Italic:size=12" IconFont "xft:Arial:Regular::size=9" TitleStyle LeftJustified # SGI-Style "flat" window buttons, close/minimize/maximize # These are ripped from somewhere on the net, I wish I remember from where and could give credit. ButtonStyle 2 Vector 9 0+5px100-6p@3 100-7px100-6p@3 100-7px-0+4p@3 0+5px0+4p@3 0+5px100-5p@3 0+7px100-5p@2 0+8px100-5p@3 100-6px100-5p@3 100-6px-0+6p@3 ButtonStyle 4 Vector 9 50-2px50+1p@3 50+2px50+1p@3 50+2px50-3p@3 50-2px50-3p@3 50-2px50+2p@3 50-0px50+2p@2 50-0px50+2p@3 50+3px50+2p@3 50+3px50-1p@3 ButtonStyle 1 Vector 9 0+4px50+1p@3 100-6px50+1p@3 100-6px50-2p@3 0+4px50-2p@3 0+4px50+2@3 0+5px50+2p@2 0+6px50+2p@2 100-5px50+2p@3 100-5px50@3 # IconBox: 4dwm places icons along the top of the screen, # but on modern widescreen displays I like them along the # left hand side. Style "*" IconBox 5 198 90 -0, IconGrid 1 1, IconFill Left Top Style * IconSize 90 70 -1 -1 Style * IconBackgroundColorset 17 Style * IconBackgroundRelief 2 Style * IconBackgroundPadding 2 ## Set path to icons and pixmaps ImagePath $HOME/.fvwm/icons:+ # A few icons ripped from SGI screenshots Style "*" Icon generic.png Style rxvt Icon winterm.png Style WinTerm Icon winterm.png Style MikMod Icon cdrec.png # Keep the last focus while in root window Style "*" SloppyFocus # Click/release must occur in