mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-19 06:46:24 -04:00
Implement live-reload of config colors on SIGUSR1.
This commit is contained in:
parent
a50f78c599
commit
341cdabdd2
7 changed files with 87 additions and 0 deletions
2
config.h
2
config.h
|
|
@ -132,6 +132,7 @@ struct custom_regex {
|
|||
};
|
||||
|
||||
struct config {
|
||||
char *path;
|
||||
char *term;
|
||||
char *shell;
|
||||
char *title;
|
||||
|
|
@ -423,6 +424,7 @@ bool config_load(
|
|||
bool as_server);
|
||||
void config_free(struct config *conf);
|
||||
struct config *config_clone(const struct config *old);
|
||||
void config_reload_colors(struct config *conf);
|
||||
|
||||
bool config_font_parse(const char *pattern, struct config_font *font);
|
||||
void config_font_list_destroy(struct config_font_list *font_list);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue