aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2016-07-11 00:11:38 -0500
committerFurkan Sahin <furkan-dev@proton.me>2016-07-11 00:11:38 -0500
commit7f04d090e3bc30048acfc280b255b225a1eb3359 (patch)
treee6830dc3459a1570b900c21c6208b93efb2027d8 /include
parent59a2213b1675d425855e18132cce34df9279dabc (diff)
Compute what workspace button is clicked
This commit does not do anything with this information other than logging it.
Diffstat (limited to 'include')
-rw-r--r--include/bar/ipc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/bar/ipc.h b/include/bar/ipc.h
index 741c067b..c11931d0 100644
--- a/include/bar/ipc.h
+++ b/include/bar/ipc.h
@@ -13,5 +13,11 @@ void ipc_bar_init(struct bar *bar, const char *bar_id);
*/
bool handle_ipc_event(struct bar *bar);
+
+/**
+ * Send workspace command to sway
+ */
+void ipc_send_workspace_command(const char *workspace_name);
+
#endif /* _SWAYBAR_IPC_H */