aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index c69eb9f..16102aa 100644
--- a/config.def.h
+++ b/config.def.h
@@ -193,4 +193,15 @@ static const Command commands[] = {
{ "forward", &_cmd_forward },
};
+
+/* User start/hooks
+ * Do whatever you want here, initialize whatever custom hooks you want to your heart's content. At this point config.h can just become an extension api on crack, knock yourself out
+ * have fun */
+/* It runs just before gtk_main(), after everything prior has been initialized. */
+void user_start(Cinnamon* cinnamon) {
+ /* Function has to exist or else main.c won't compile, this code is so scuffed T_T */
+ /* for now just printf to see if it loads */
+ printf("[user_start] starting NOW!\n");
+}
+
#endif