Added plaintext_markup to swaybar IPC

This commit is contained in:
Mykyta Holubakha 2016-04-24 20:11:23 +03:00
parent 53b53dd8c2
commit 2e6c43e62b
2 changed files with 7 additions and 0 deletions

View file

@ -600,6 +600,7 @@ json_object *ipc_json_describe_bar_config(struct bar_config *bar) {
json_object_object_add(json, "strip_workspace_numbers", json_object_new_boolean(bar->strip_workspace_numbers));
json_object_object_add(json, "binding_mode_indicator", json_object_new_boolean(bar->binding_mode_indicator));
json_object_object_add(json, "verbose", json_object_new_boolean(bar->verbose));
json_object_object_add(json, "plaintext_markup", json_object_new_boolean(bar->plaintext_markup));
json_object *colors = json_object_new_object();
json_object_object_add(colors, "background", json_object_new_string(bar->colors.background));