diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-09-30 15:09:09 +0100 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-10-14 13:33:12 +0100 |
commit | d0b54e932b59baa71b54d842b249400db74ce79b (patch) | |
tree | dc8a6aa3920b8d54e24d2ab97dab2c7d1dbbe4b8 /include/swaybar/ipc.h | |
parent | commands: fix sending bar mode/hidden_state updates to all bars (diff) | |
download | sway-d0b54e932b59baa71b54d842b249400db74ce79b.tar.gz sway-d0b54e932b59baa71b54d842b249400db74ce79b.tar.zst sway-d0b54e932b59baa71b54d842b249400db74ce79b.zip |
swaybar: save id upon startup
This adds an id property to the bar, which will be used to filter
barconfig_update events
Diffstat (limited to 'include/swaybar/ipc.h')
-rw-r--r-- | include/swaybar/ipc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/swaybar/ipc.h b/include/swaybar/ipc.h index 8731dac2..51db85b5 100644 --- a/include/swaybar/ipc.h +++ b/include/swaybar/ipc.h | |||
@@ -3,7 +3,7 @@ | |||
3 | #include <stdbool.h> | 3 | #include <stdbool.h> |
4 | #include "swaybar/bar.h" | 4 | #include "swaybar/bar.h" |
5 | 5 | ||
6 | bool ipc_initialize(struct swaybar *bar, const char *bar_id); | 6 | bool ipc_initialize(struct swaybar *bar); |
7 | bool handle_ipc_readable(struct swaybar *bar); | 7 | bool handle_ipc_readable(struct swaybar *bar); |
8 | void ipc_get_workspaces(struct swaybar *bar); | 8 | void ipc_get_workspaces(struct swaybar *bar); |
9 | void ipc_send_workspace_command(struct swaybar *bar, const char *ws); | 9 | void ipc_send_workspace_command(struct swaybar *bar, const char *ws); |