#
# FVWM-Crystal - main initialization file
#

# Where is the system-wide configuration
SetEnv FVWM_CONFIGDIR /etc/X11/fvwm/fvwm-crystal

# Where are the system-wide files
SetEnv FVWM_SYSTEMDIR $.

# Where are the locales
LocalePath $[FVWM_USERDIR]/locale;fvwm-crystal:$[FVWM_SYSTEMDIR]/locale;fvwm-crystal:+

# Load the standard functions (Include function doesn't work yet)
Read $[FVWM_SYSTEMDIR]/components/Standard

# Look if there is a recipe selected. If not, select the default
CheckPreferences LastChoosenRecipe "SavePreferences LastChoosenRecipe 'Include recipes/Default'"

# Load last used recipe
LoadPreferences LastChoosenRecipe

# Load user configuration file, if it's present
Include userconfig

# Debug line - uncomment to see it in the ~/.xsession-errors
#Echo -----8<----- Initialization finished -----8<-----

# vim:foldmethod=marker:foldenable:foldlevel=0:filetype=fvwm

