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 | swaybar: move core functionality to state.c (diff) | |
download | sway-aa6ad09183d623647bc8fd5315721bd8b196cafa.tar.gz sway-aa6ad09183d623647bc8fd5315721bd8b196cafa.tar.zst sway-aa6ad09183d623647bc8fd5315721bd8b196cafa.zip |
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 @@ | |||
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 | ||