Implement bar option: separator_symbol

This commit is contained in:
Mikkel Oscar Lyderik 2015-12-16 12:58:45 +01:00
parent 1825cf32bf
commit 2fd7dd64ec
4 changed files with 25 additions and 1 deletions

View file

@ -419,6 +419,9 @@ void ipc_client_handle_command(struct ipc_client *client) {
}
json_object_object_add(json, "status_command", json_object_new_string(bar->status_command));
json_object_object_add(json, "font", json_object_new_string(bar->font));
if (bar->separator_symbol) {
json_object_object_add(json, "separator_symbol", json_object_new_string(bar->separator_symbol));
}
json_object_object_add(json, "bar_height", json_object_new_int(bar->height));
json_object_object_add(json, "workspace_buttons", json_object_new_boolean(bar->workspace_buttons));
json_object_object_add(json, "strip_workspace_numbers", json_object_new_boolean(bar->strip_workspace_numbers));