diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-01-24 02:34:20 +0100 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-01-24 14:22:19 +0100 |
commit | aa6ad09183d623647bc8fd5315721bd8b196cafa (patch) | |
tree | beab8b4222dd5a5a97394a9da0b8704f1b6e5df8 /swaybar/config.c | |
parent | c6fc0033e1bf8aa1deb2c44284049041766361f8 (diff) |
swaybar: rename state to bar
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); |