# 1. Icon style # 2. Init functions # 3. Modules theme menu # 4. "Switch" functions # 5. Modules config #----------------------------------------------------------------------------- # Icon Style and Grid Style "*" IconBox 130 5 -130 700, IconGrid 64 64, IconFill left top Style "*" SlipperyIcon, IconTitle #------------------------------------------------------------------------------ # Starts functions AddToFunc InitFunction + I Module FvwmButtons XX AddToFunc RestartFunction + I Module FvwmButtons XX # When used with a session manager fvwm uses SessionInitFunction and # SessionRestartFunction # # The example below is for gnome: start nothing ! However, you may use # some modules (compare panel and modules possibilities) AddToFunc SessionInitFunction + I Nop AddToFunc SessionRestartInitFunction + I Nop #----------------------------------------------------------------------------- # Modules Theme menu DestroyMenu MenuFvwmModulesTheme AddToMenu MenuFvwmModulesTheme "Default Modules" Title + "Auto Raise (500 ms)" Module FvwmAuto 500 "Silent Raise" Nop + "&Buttons" Module FvwmButtons + "Pager (&4 desks)" Module FvwmPager 0 3 + "" Nop + "No normal icons" Style * NoIcon # needed to use NoIcon modules + "IconB&ox" Module FvwmIconBox + "Icon&Man" Module FvwmIconMan + "&TaskBar" Module FvwmTaskBar + "&WinList" Module FvwmWinList #----------------------------------------------------------------------------- # Switch functions DestroyFunc FuncFvwmStartModulesTheme AddToFunc FuncFvwmStartModulesTheme + I Style * Icon norm/unknown.xpm + I Module FvwmButtons # Choose an app manager: + I Module FvwmIconMan # + I Module FvwmIconBox # + I Module FvwmTaskBar # + I Module FvwmWinList DestroyFunc FuncFvwmStopModulesTheme AddToFunc FuncFvwmStopModulesTheme + I KillModule FvwmButtons + I KillModule FvwmPager + I KillModule FvwmTaskBar + I KillModule FvwmIconBox + I KillModule FvwmIconMan + I KillModule FvwmWinList + I DestroyModuleConfig FvwmButtons* + I DestroyModuleConfig FvwmPager* + I DestroyModuleConfig FvwmIconBox* + I DestroyModuleConfig FvwmIconMan* + I DestroyModuleConfig FvwmTaskBar* + I DestroyModuleConfig FvwmWinList* #------------------------------------------------------------------------------ # Modules config #------------------------------------------------------------------------------ # Some modifications from fvwm default #------------------------------------------------------------------------------ *FvwmThemeColorset 6 fg grey85, bg #555d5d, Transparent *FvwmThemeColorset 2 fg #979b9b, bg #555d5d, Transparent *FvwmThemeColorset 3 fg #979b9b, bg #555d5d, DGradient 100 rgb:7/8/8 grey20 Modulesynchronous timeout 4 FvwmTheme *FvwmPagerFont "none" *FvwmPagerFore rgb:55/5d/5d *FvwmPagerSmallFont -*-helvetica-medium-r-*-*-8-*-*-*-*-*-*-* *FvwmPagerBalloons Pager *FvwmPagerColumns 1 *FvwmPagerBalloonFore #ececec *FvwmPagerBalloonBack #485151 *FvwmPagerSolidSeparators *FvwmPagerWindowColors #aeaeae #434c4c #ffffff #707070 *FvwmPagerNoSeparators *FvwmPagerColorset * 2 *FvwmPagerHilightPixmap module/blackbox-HilightDesk.xpm *FvwmIconMan*1*managergeometry 10x1+0-0 *FvwmIconMan*1*buttongeometry 100x14 *FvwmIconMan*1*font lucidasans-bold-10 *FvwmIconMan*1*plainbutton flat *FvwmIconMan*1*titlebutton flat *FvwmIconMan*1*background rgb:55/5d/5d *FvwmIconMan*1*followfocus true *FvwmIconMan*1*focusbutton flat #ffffff #707070 *FvwmIconMan*1*focusandselectbutton flat #ffffff #707070 *FvwmIconMan*1*resolution global *FvwmIconMan*1*drawicons true *FvwmIconMan*1*usewinlist true AddToFunc WarpToMiddle + I WarpToWindow 50 50 AddToFunc WarpAndWindowNavi + I Focus NoWarp + I Popup IconManMenu *FvwmIconMan*1*action Mouse 1 N sendcommand Focus *FvwmIconMan*1*action Mouse 2 N sendcommand WarpToMiddle *FvwmIconMan*1*action Mouse 3 N sendcommand WarpAndWindowNavi *FvwmIconMan*1*shape true *FvwmIconMan*colorset 2 *FvwmIconMan*iconcolorset 2 *FvwmIconMan*focuscolorset 6 *FvwmIconMan*focusandselectcolorset 6 *FvwmIconMan*plaincolorset 2 *FvwmIconMan*selectcolorset 6 *FvwmIconMan*titlecolorset 2 AddToMenu IconManMenu + "Iconify" Iconify + "Close" Close + "Destroy" Destroy + "Send to page" Popup MoveToMenu + "Send and warp" Popup MoveToAndWarpMenu Style "FvwmIconMan" BorderWidth 0,\ NoTitle,\ NoHandles,\ Sticky,\ ForeColor grey,\ BackColor rgb:55/5d/5d,\ FVWMBorder,\ WindowListSkip define(`TOOLBARX',eval((WIDTH-700)/2)) *XXGeometry 700x18+200-0 *XXBoxSize fixed *XXColumns 70 *XXRows 18 *XXFrame 0 *XXPixmap module/blackbox-TheToolbar700.xpm *XXPadding 0 0 *XX(\ 6x14+1+2,\ Swallow "xdaliclock" "Exec xdaliclock -24 -bg \"#083e4f\" -fn lucidasans-bold-10 -fg \"grey85\" -noseconds -transparent "\ ) *XX(\ 2x16+7+1,\ Action Function ToolbarButtonPrev,\ Icon module/blackbox-toolbarbutton1.xpm\ ) *XX(\ 2x16+9+1,\ Action Function ToolbarButtonNext,\ Icon module/blackbox-toolbarbutton2.xpm\ ) *XX(\ 9x14+60+2,\ Swallow "FvwmPager" "Module FvwmPager 0 0"\ ) *XX(\ 2x16+56+1),\ Action GotoPage -1p 0p,\ Icon module/blackbox-toolbarbutton3.xpm\ ) *XX(\ 2x16+58+1),\ Action,\ Action GotoPage +1p 0p,\ Icon module/blackbox-toolbarbutton4.xpm\ ) *XX(\ 45x14+11+2),\ Swallow "FvwmIconMan" "Module FvwmIconMan"\ ) Style "XX" BorderWidth 1,\ NoTitle,\ NoHandles,\ Sticky,\ ForeColor grey,\ BackColor rgb:1c/2/2,\ FVWMBorder,\ WindowListSkip