mirror of
https://github.com/swaywm/sway.git
synced 2025-11-04 13:29:52 -05:00
implement get_tree command
This commit is contained in:
parent
7144fb9fc3
commit
15a324b0d3
6 changed files with 385 additions and 152 deletions
13
include/ipc-json.h
Normal file
13
include/ipc-json.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef _SWAY_IPC_JSON_H
|
||||
#define _SWAY_IPC_JSON_H
|
||||
|
||||
#include <json-c/json.h>
|
||||
#include "config.h"
|
||||
#include "container.h"
|
||||
|
||||
json_object *ipc_json_get_version();
|
||||
json_object *ipc_json_describe_bar_config(struct bar_config *bar);
|
||||
json_object *ipc_json_describe_container(swayc_t *c);
|
||||
json_object *ipc_json_describe_container_recursive(swayc_t *c);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue