diff options
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 */ |