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

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

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

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

DestroyFunc FuncFvwmStartThemeModules
AddToFunc   FuncFvwmStartThemeModules
+ I SendToModule FvwmTheme Colorset 23 fg $[fg.cs10], bg $[bg.cs10], \
	Transparent, NoShape
+ I FuncFvwmStartNormalIcons
+ I FvwmButtons FvwmButtons-Bar

DestroyFunc FuncFvwmStopThemeModules
AddToFunc   FuncFvwmStopThemeModules
+ I KillModule FvwmButtons FvwmButtons-Bar
+ I KillModule FvwmPager FvwmPager-Single
+ I KillModule FvwmPager FvwmPager-Desker
+ I KillModule FvwmIconMan
+ I KillModule FvwmWinList
+ I DestroyModuleConfig FvwmButtons-Bar: *
+ I DestroyModuleConfig FvwmPager-Single: *
+ I DestroyModuleConfig FvwmPager-Desker: *
+ I DestroyModuleConfig FvwmIconMan: *
+ I DestroyModuleConfig FvwmWinList: *
+ I DestroyFunc ToggleXMessages
+ I DestroyFunc ToggleStickyXMessages
+ I DestroyFunc ToggleSlipperyXMessages
+ I DestroyFunc ToggleFvwmConsole
+ I DestroyFunc FuncFvwmStartBarXosview
+ I FuncFvwmDestroyModulesThemeStyle
+ I DestroyFunc FuncFvwmDestroyModulesThemeStyle

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

DestroyMenu MenuFvwmStartThemeModules
AddToMenu   MenuFvwmStartThemeModules "Default Modules" Title
+ "&Buttons"        FuncFvwmRestartModuleByAlias FvwmButtons FvwmButtons-Bar
+ "&Desker"         FuncFvwmRestartModuleByAlias FvwmPager FvwmPager-Desker
+ "" Nop
+ "No normal icons" Style * NoIcon  # needed to use NoIcon modules
+ "Normal icons"    Read themes/default/settings/iconstyles/style-icon-miniicon
+ "&WinList"        FuncFvwmRestartModule FvwmWinList

DestroyMenu MenuFvwmStopThemeModules
AddToMenu   MenuFvwmStopThemeModules "Default Modules" Title
+ "Stop &Buttons" FuncFvwmStopModuleByAlias FvwmButtons FvwmButtons-Bar
+ "Stop &Desker"   FuncFvwmStopModuleByAlias FvwmPager FvwmPager-Desker
+ "Stop &WinList" KillModule FvwmWinList

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

Read themes/luthien/modules/main:styles
Read themes/luthien/modules/main:FvwmButtons
Read themes/luthien/modules/main:FvwmIconMan
Read themes/luthien/modules/main:FvwmPager
Read themes/luthien/modules/main:FvwmWinList
