# 1. Icon related configuration
# 2. Switch functions
# 3. Theme module menus
# 4. Modules configuration

# ----------------------------------------------------------------------------
# Icon related configuration

Style "*"	IconBox 10 24 -130 700, IconGrid 64 64, IconFill left top
Style "*"	SlipperyIcon, IconTitle

# ----------------------------------------------------------------------------
# Switch functions

DestroyFunc FuncFvwmStartThemeModules
AddToFunc   FuncFvwmStartThemeModules
+ I FuncFvwmStartNormalIcons

DestroyFunc FuncFvwmStopThemeModules
AddToFunc   FuncFvwmStopThemeModules
+ I KillModule FvwmButtons
+ I KillModule FvwmPager FvwmPager-Single
+ I KillModule FvwmPager FvwmPager-Desker
+ I KillModule FvwmTaskBar
+ I KillModule FvwmIconBox
+ I KillModule FvwmIconMan
+ I KillModule FvwmWinList
+ I DestroyModuleConfig FvwmButtons: *
+ I DestroyModuleConfig FvwmPager-Single: *
+ I DestroyModuleConfig FvwmPager-Desker: *
+ I DestroyModuleConfig FvwmIconBox: *
+ I DestroyModuleConfig FvwmIconMan: *
+ I DestroyModuleConfig FvwmTaskBar: *
+ I DestroyModuleConfig FvwmWinList: *
+ I FuncFvwmDestroyModulesThemeStyle
+ I DestroyFunc FuncFvwmDestroyModulesThemeStyle

# ----------------------------------------------------------------------------
# Theme module menus

DestroyMenu MenuFvwmStartThemeModules
AddToMenu   MenuFvwmStartThemeModules "Default Modules" Title
+ "&Buttons"        FuncFvwmRestartModule FvwmButtons
+ "&Desker"         FuncFvwmRestartModuleByAlias FvwmPager FvwmPager-Desker '0 3'
+ "" Nop
+ "No normal icons" Style * NoIcon  # needed to use NoIcon modules
+ "Normal icons"    Read themes/default/settings/iconstyles/style-icon-miniicon
+ "IconB&ox"        FuncFvwmRestartModule FvwmIconBox
+ "Icon&Man"        FuncFvwmRestartModule FvwmIconMan
+ "&TaskBar"        FuncFvwmRestartModule FvwmTaskBar
+ "&WinList"        FuncFvwmRestartModule FvwmWinList

DestroyMenu MenuFvwmStopThemeModules
AddToMenu   MenuFvwmStopThemeModules "Default Modules" Title
+ "Stop &Buttons" KillModule FvwmButtons
+ "Stop &Desker"  KillModule FvwmPager FvwmPager-Desker
+ "Stop IconB&ox" KillModule FvwmIconBox
+ "Stop Icon&Man" KillModule FvwmIconMan
+ "Stop &TaskBar" KillModule FvwmTaskBar
+ "Stop &WinList" KillModule FvwmWinList

# ----------------------------------------------------------------------------
# Modules configuration

Read themes/default/modules/main:styles
Read themes/default/modules/main:FvwmButtons
Read themes/default/modules/main:FvwmIconBox
Read themes/default/modules/main:FvwmIconMan
Read themes/default/modules/main:FvwmPager-Single
Read themes/default/modules/main:FvwmPager-Desker
Read themes/default/modules/main:FvwmTaskBar
Read themes/default/modules/main:FvwmWinList
