summaryrefslogtreecommitdiffstats
path: root/sway/ipc-server.c
diff options
context:
space:
mode:
authorLibravatar Mykyta Holubakha <hilobakho@gmail.com>2016-04-24 20:11:23 +0300
committerLibravatar Mykyta Holubakha <hilobakho@gmail.com>2016-04-24 20:14:02 +0300
commit2e6c43e62b9b34c0ce019c013d3f6e4863a9d482 (patch)
tree944933ffedcf744a5e2852bef9d04ad50521dc44 /sway/ipc-server.c
parentAdded plaintext markup configuration (diff)
downloadsway-2e6c43e62b9b34c0ce019c013d3f6e4863a9d482.tar.gz
sway-2e6c43e62b9b34c0ce019c013d3f6e4863a9d482.tar.zst
sway-2e6c43e62b9b34c0ce019c013d3f6e4863a9d482.zip
Added plaintext_markup to swaybar IPC
Diffstat (limited to 'sway/ipc-server.c')
-rw-r--r--sway/ipc-server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c
index f6116921..0ab6af49 100644
--- a/sway/ipc-server.c
+++ b/sway/ipc-server.c
@@ -600,6 +600,7 @@ json_object *ipc_json_describe_bar_config(struct bar_config *bar) {
600 json_object_object_add(json, "strip_workspace_numbers", json_object_new_boolean(bar->strip_workspace_numbers)); 600 json_object_object_add(json, "strip_workspace_numbers", json_object_new_boolean(bar->strip_workspace_numbers));
601 json_object_object_add(json, "binding_mode_indicator", json_object_new_boolean(bar->binding_mode_indicator)); 601 json_object_object_add(json, "binding_mode_indicator", json_object_new_boolean(bar->binding_mode_indicator));
602 json_object_object_add(json, "verbose", json_object_new_boolean(bar->verbose)); 602 json_object_object_add(json, "verbose", json_object_new_boolean(bar->verbose));
603 json_object_object_add(json, "plaintext_markup", json_object_new_boolean(bar->plaintext_markup));
603 604
604 json_object *colors = json_object_new_object(); 605 json_object *colors = json_object_new_object();
605 json_object_object_add(colors, "background", json_object_new_string(bar->colors.background)); 606 json_object_object_add(colors, "background", json_object_new_string(bar->colors.background));