]> git.sur5r.net Git - i3/i3/blobdiff - include/config.h
Include workspace con in workspace event
[i3/i3] / include / config.h
index b0f22417ab038715812c1c537ab43576909e7a02..dea26d96344548a5573ebdb6de2813b4a1ccc32e 100644 (file)
@@ -326,6 +326,20 @@ struct Barconfig {
     TAILQ_ENTRY(Barconfig) configs;
 };
 
+/**
+ * Finds the configuration file to use (either the one specified by
+ * override_configpath), the user’s one or the system default) and calls
+ * parse_file().
+ *
+ * If you specify override_configpath, only this path is used to look for a
+ * configuration file.
+ *
+ * If use_nagbar is false, don't try to start i3-nagbar but log the errors to
+ * stdout/stderr instead.
+ *
+ */
+bool parse_configuration(const char *override_configpath, bool use_nagbar);
+
 /**
  * Reads the configuration from ~/.i3/config or /etc/i3/config if not found.
  *