From 71f9f2d9d82b7290dcb4e4f6364a5abcf402b8d8 Mon Sep 17 00:00:00 2001 From: Marko Date: Fri, 9 Jun 2023 20:56:37 +0200 Subject: [PATCH] Add docs for `empty` flag for workspaces in ipc --- sway/sway-ipc.7.scd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sway/sway-ipc.7.scd b/sway/sway-ipc.7.scd index 42aaaab6..e49c97a0 100644 --- a/sway/sway-ipc.7.scd +++ b/sway/sway-ipc.7.scd @@ -139,6 +139,9 @@ has the following properties: |- urgent : boolean : Whether a view on the workspace has the urgent flag set +|- empty +: boolean +: Whether the workspace is empty |- rect : object : The bounds of the workspace. It consists of _x_, _y_, _width_, and _height_ @@ -1562,6 +1565,7 @@ The following change types are currently available: "num": 2, "output": "eDP-1", "type": "workspace", + "empty": true, "representation": null, "nodes": [ ]