aboutsummaryrefslogtreecommitdiff
path: root/swaybar/ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar/ipc.c')
-rw-r--r--swaybar/ipc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/swaybar/ipc.c b/swaybar/ipc.c
index dacee4c2..6697742e 100644
--- a/swaybar/ipc.c
+++ b/swaybar/ipc.c
@@ -7,6 +7,10 @@
#include "bar/config.h"
#include "bar/ipc.h"
+void ipc_send_workspace_command(const char *workspace_name) {
+ sway_log(L_DEBUG, "Clicked on window %s", workspace_name);
+}
+
static void ipc_parse_config(struct config *config, const char *payload) {
json_object *bar_config = json_tokener_parse(payload);
json_object *tray_output, *mode, *hidden_bar, *position, *status_command;