#include "config.h"
#include "grab.h"
#include "engine.h"
-#include "themerc.h"
#include "plugin.h"
#include "timer.h"
#include "../render/render.h"
config_startup();
render_startup();
font_startup();
- themerc_startup();
+ plugin_startup();
+
+ /* load the plugins specified in the pluginrc */
+ plugin_loadall();
+ /* parse/load user options */
+ config_parse();
+
engine_startup();
event_startup();
screen_startup();
focus_startup();
client_startup();
grab_startup();
- plugin_startup();
-
- /* XXX load all plugins!! */
- plugin_open("focus");
- plugin_open("keyboard");
- plugin_open("mouse");
- plugin_open("placement");
- plugin_open("resistance");
- config_parse();
+ /* call startup for all the plugins */
+ plugin_startall();
/* get all the existing windows */
client_manage_all();
screen_shutdown();
event_shutdown();
engine_shutdown();
- themerc_shutdown();
render_shutdown();
config_shutdown();
timer_shutdown();