diff options
Diffstat (limited to 'swaybar/config.c')
-rw-r--r-- | swaybar/config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/swaybar/config.c b/swaybar/config.c index 7c03198a..28b609e6 100644 --- a/swaybar/config.c +++ b/swaybar/config.c @@ -41,8 +41,8 @@ char *parse_font(const char *font) { return new_font; } -struct swaybar_config *init_config() { - struct swaybar_config *config = calloc(1, sizeof(struct swaybar_config)); +struct config *init_config() { + struct config *config = calloc(1, sizeof(struct config)); config->status_command = NULL; config->position = DESKTOP_SHELL_PANEL_POSITION_BOTTOM; config->font = strdup("monospace 10"); @@ -83,7 +83,7 @@ struct swaybar_config *init_config() { return config; } -void free_config(struct swaybar_config *config) { +void free_config(struct config *config) { free(config->status_command); free(config->font); free(config->mode); |