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 @@ | |||
1 | #ifndef _SWAYBAR_IPC_H | 1 | #ifndef _SWAYBAR_IPC_H |
2 | #define _SWAYBAR_IPC_H | 2 | #define _SWAYBAR_IPC_H |
3 | 3 | ||
4 | #include "state.h" | 4 | #include "bar.h" |
5 | 5 | ||
6 | /** | 6 | /** |
7 | * Initialize ipc connection to sway and get sway state, outputs, bar_config. | 7 | * Initialize ipc connection to sway and get sway state, outputs, bar_config. |
8 | */ | 8 | */ |
9 | void ipc_bar_init(struct swaybar_state *state, int outputi, const char *bar_id); | 9 | void ipc_bar_init(struct bar *bar, int outputi, const char *bar_id); |
10 | 10 | ||
11 | /** | 11 | /** |
12 | * Handle ipc event from sway. | 12 | * Handle ipc event from sway. |
13 | */ | 13 | */ |
14 | bool handle_ipc_event(struct swaybar_state *state); | 14 | bool handle_ipc_event(struct bar *bar); |
15 | 15 | ||
16 | #endif /* _SWAYBAR_IPC_H */ | 16 | #endif /* _SWAYBAR_IPC_H */ |
17 | 17 | ||