X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fconfig_parser.h;h=9c23a11df56be737c559087da84a81bc471cd96c;hb=039494165a6ab1b98bb14225e76827d904fa0e69;hp=28c28e4882e7f2b6fa220cfe98ca4d4b391f1819;hpb=5dda3bc2aec30e453a69b2b871379533680cda60;p=i3%2Fi3 diff --git a/include/config_parser.h b/include/config_parser.h index 28c28e48..9c23a11d 100644 --- a/include/config_parser.h +++ b/include/config_parser.h @@ -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.