]> git.sur5r.net Git - i3/i3/blobdiff - include/config_parser.h
Introduce support for specifying variables from X resources. (#2286)
[i3/i3] / include / config_parser.h
index 28c28e4882e7f2b6fa220cfe98ca4d4b391f1819..2ba79a68b8fa0f338a70b7f0919061f77fe839e1 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <yajl/yajl_gen.h>
 
+SLIST_HEAD(variables_head, Variable);
 extern pid_t config_error_nagbar_pid;
 
 /*
@@ -31,6 +32,11 @@ struct ConfigResultIR {
 
 struct ConfigResultIR *parse_config(const char *input, struct context *context);
 
+/**
+ * launch nagbar to indicate errors in the configuration file.
+ */
+void start_config_error_nagbar(const char *configpath, bool has_errors);
+
 /**
  * Parses the given file by first replacing the variables, then calling
  * parse_config and launching i3-nagbar if use_nagbar is true.