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

@ -5,7 +5,7 @@
#include <stdbool.h>
#include "list.h"
#include "state.h"
#include "bar.h"
typedef enum {UNDEF, TEXT, I3BAR} command_protocol;
@ -40,7 +40,7 @@ struct status_line *init_status_line();
/**
* handle status line activity.
*/
bool handle_status_line(struct swaybar_state *st);
bool handle_status_line(struct bar *bar);
/**
* Free status line struct.