X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fconfig_parser.h;h=9c23a11df56be737c559087da84a81bc471cd96c;hb=039494165a6ab1b98bb14225e76827d904fa0e69;hp=9fc3bf2ffb5ea63e2b3e22bef34a69f9472dd9d5;hpb=9058fc44e6e3e483473380bcede88f92c5b7c3c6;p=i3%2Fi3 diff --git a/include/config_parser.h b/include/config_parser.h index 9fc3bf2f..9c23a11d 100644 --- a/include/config_parser.h +++ b/include/config_parser.h @@ -2,7 +2,7 @@ * vim:ts=4:sw=4:expandtab * * i3 - an improved dynamic tiling window manager - * © 2009-2012 Michael Stapelberg and contributors (see also: LICENSE) + * © 2009 Michael Stapelberg and contributors (see also: LICENSE) * * config_parser.h: config parser-related definitions * @@ -31,6 +31,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.