swaybar: rename state to bar

This commit is contained in:
Mikkel Oscar Lyderik 2016-01-24 02:34:20 +01:00
parent c6fc0033e1
commit aa6ad09183
13 changed files with 274 additions and 273 deletions

View file

@ -16,7 +16,7 @@ struct box_colors {
/**
* Swaybar config.
*/
struct swaybar_config {
struct config {
char *status_command;
uint32_t position;
char *font;
@ -59,11 +59,11 @@ char *parse_font(const char *font);
/**
* Initialize default sway config.
*/
struct swaybar_config *init_config();
struct config *init_config();
/**
* Free config struct.
*/
void free_config(struct swaybar_config *config);
void free_config(struct config *config);
#endif /* _SWAYBAR_CONFIG_H */