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/ipc.h | |
| parent | c6fc0033e1bf8aa1deb2c44284049041766361f8 (diff) | |
swaybar: rename state to bar
Diffstat (limited to 'swaybar/ipc.h')
| -rw-r--r-- | swaybar/ipc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/swaybar/ipc.h b/swaybar/ipc.h index 06d30076..c3f661f8 100644 --- a/swaybar/ipc.h +++ b/swaybar/ipc.h @@ -1,17 +1,17 @@ #ifndef _SWAYBAR_IPC_H #define _SWAYBAR_IPC_H -#include "state.h" +#include "bar.h" /** * Initialize ipc connection to sway and get sway state, outputs, bar_config. */ -void ipc_bar_init(struct swaybar_state *state, int outputi, const char *bar_id); +void ipc_bar_init(struct bar *bar, int outputi, const char *bar_id); /** * Handle ipc event from sway. */ -bool handle_ipc_event(struct swaybar_state *state); +bool handle_ipc_event(struct bar *bar); #endif /* _SWAYBAR_IPC_H */ |
