diff options
author | Thomas Hebb <tommyhebb@gmail.com> | 2020-04-25 15:10:22 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2020-04-27 20:37:57 -0400 |
commit | f18bcfcd69b514e1387bf37a42be6667a4c19282 (patch) | |
tree | e073a8682121a1f225bfa2ab4059d85620a82bff /sway/sway-ipc.7.scd | |
parent | 58703e4f24ae2738f9459c0c092f41a827be007e (diff) |
Add each view's shell to JSON description
This is a criteria you can use to select windows since commit
484cc189e909 ("Add shell criteria token"), but there's no way to query
it for an existing window. This exposes its value in the output of
`swaymsg -t get_tree`.
Diffstat (limited to 'sway/sway-ipc.7.scd')
-rw-r--r-- | sway/sway-ipc.7.scd | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sway/sway-ipc.7.scd b/sway/sway-ipc.7.scd index ab61f864..5cef0bb4 100644 --- a/sway/sway-ipc.7.scd +++ b/sway/sway-ipc.7.scd @@ -376,6 +376,9 @@ node and will have the following properties: |- visible : boolean : (Only views) Whether the node is visible +|- shell +: string +: (Only views) The shell of the view, such as _xdg\_shell_ or _xwayland_ |- window : integer : (Only xwayland views) The X11 window ID for the xwayland view @@ -672,6 +675,7 @@ node and will have the following properties: "pid": 23959, "app_id": null, "visible": true, + "shell": "xwayland", "window_properties": { "class": "URxvt", "instance": "urxvt", @@ -726,6 +730,7 @@ node and will have the following properties: "pid": 25370, "app_id": "termite", "visible": true, + "shell": "xdg_shell", "nodes": [ ] } |