aboutsummaryrefslogtreecommitdiff
path: root/swaybar/ipc.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-29 10:59:33 -0400
committerDrew DeVault <sir@cmpwn.com>2018-03-29 22:11:08 -0400
commit37b61eff2df3c8b47b1304650d1fb204a62658db (patch)
tree784910c008067185ce3f41a139fc95242e6e7458 /swaybar/ipc.c
parent86ba0fc15d7615b09f0279616d538af5c23bc551 (diff)
Add binding mode indicator
Diffstat (limited to 'swaybar/ipc.c')
-rw-r--r--swaybar/ipc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/swaybar/ipc.c b/swaybar/ipc.c
index 75f17953..3c2d6fbc 100644
--- a/swaybar/ipc.c
+++ b/swaybar/ipc.c
@@ -306,6 +306,7 @@ bool handle_ipc_event(struct swaybar *bar) {
ipc_get_workspaces(bar);
break;
case IPC_EVENT_MODE: {
+ // TODO: interpret "pango_markup" field
json_object *result = json_tokener_parse(resp->payload);
if (!result) {
free_ipc_response(resp);