/**
* Parses the given file by first replacing the variables, then calling
- * parse_config and possibly launching i3-nagbar.
+ * parse_config and launching i3-nagbar if use_nagbar is true.
+ *
+ * The return value is a boolean indicating whether there were errors during
+ * parsing.
*
*/
-void parse_file(const char *f);
+bool parse_file(const char *f, bool use_nagbar);