mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
[swaybar] Get bar config via IPC
This commit is contained in:
parent
f80e7364b1
commit
473ac4531f
2 changed files with 42 additions and 17 deletions
|
|
@ -455,6 +455,7 @@ void ipc_client_handle_command(struct ipc_client *client) {
|
|||
const char *json_string = json_object_to_json_string(json);
|
||||
ipc_send_reply(client, json_string, (uint32_t)strlen(json_string));
|
||||
json_object_put(json); // free
|
||||
break;
|
||||
}
|
||||
}
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue