#include <glib.h>
-typedef enum {
- Config_String,
- Config_Integer
-} ConfigValueType;
+/*! Should new windows be focused */
+extern gboolean config_focus_new;
+/*! Focus windows when the mouse enters them */
+extern gboolean config_focus_follow;
+/*! Focus the last focused window as a fallback */
+extern gboolean config_focus_last;
+/*! Focus the last focused window as a fallback when switching desktops */
+extern gboolean config_focus_last_on_desktop;
-typedef union {
- char *string;
- int integer;
-} ConfigValue;
+/* The name of the theme */
+char *config_theme;
+
+/*! The number of desktops */
+extern int config_desktops_num;
+/*! Names for the desktops */
+extern GSList *config_desktops_names;
-typedef struct {
- char *name;
- ConfigValueType type;
- ConfigValue value;
-} ConfigEntry;
void config_startup();
void config_shutdown();
-gboolean config_set(char *name, ConfigValueType type, ConfigValue value);
-
-void config_parse();
-
#endif