mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
Add binding mode indicator
This commit is contained in:
parent
86ba0fc15d
commit
37b61eff2d
2 changed files with 55 additions and 23 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue