X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=docs%2Flayout-saving.html;h=ed61533cc4694785162edc9e7ef31f07bcbdbd36;hb=f2bc001f485d87738f26839ca1a04bbdac642ac7;hp=e35ce5e7fdc74bdea36ddd92777d1c2dcf856fc2;hpb=eee149f9ffa4fe019179bd14159eb0a4bd3762c0;p=i3%2Fi3.github.io diff --git a/docs/layout-saving.html b/docs/layout-saving.html index e35ce5e..ed61533 100644 --- a/docs/layout-saving.html +++ b/docs/layout-saving.html @@ -2,7 +2,7 @@ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> - + i3: Layout saving in i3 @@ -22,8 +22,9 @@ document.addEventListener("DOMContentLoaded", function(){asciidoc.footnotes(); a
@@ -272,6 +273,36 @@ output standard-conforming JSON.

+
+

4. Troubleshooting

+
+
+

4.1. Restoring a vertically split workspace

+

When using i3-save-tree with the --workspace switch, only the contents of +the workspace will be dumped. This means that properties of the workspace +itself will be lost.

+

This is relevant for, e.g., a vertically split container as the base container of +a workspace. Since the split mode is a property of the workspace, it will not be +stored. In this case, you will have to manually wrap your layout in such a +container:

+
+
+
// vim:ts=4:sw=4:et
+{
+    // this is a manually added container to restore the vertical split
+    "layout": "splitv",
+    "percent": 0.5,
+    "type": "con",
+    "nodes": [
+
+        // the dumped workspace layout goes here
+
+    ]
+}
+
+
+
+