]> git.mdlowis.com Git - proto/labwc.git/commitdiff
labwc-config(5): add XML examples at start of some sections
authorJohan Malm <jgm323@gmail.com>
Sun, 8 Dec 2024 17:48:16 +0000 (17:48 +0000)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Sun, 8 Dec 2024 19:03:11 +0000 (20:03 +0100)
docs/labwc-config.5.scd

index aabfb8ab6c1f81e150bbbdb7421ca69ec0ce5a24..1f84fcc25730ee759fdbf1631cbc451f4ec2fe12 100644 (file)
@@ -224,6 +224,13 @@ this is for compatibility with Openbox.
 
 ## PLACEMENT
 
+```
+<placement>
+  <policy>cascade</policy>
+  <cascadeOffset x="40" y="30" />
+</placement>
+```
+
 *<placement><policy>* [center|automatic|cursor|cascade]
        Specify a placement policy for new windows. The "center" policy will
        always place windows at the center of the active output. The "automatic"
@@ -243,6 +250,16 @@ this is for compatibility with Openbox.
 
 ## WINDOW SWITCHER
 
+```
+<windowSwitcher show="yes" preview="yes" outlines="yes" allWorkspaces="no">
+  <fields>
+    <field content="type" width="25%"/>
+    <field content="trimmed_identifier" width="25%"/>
+    <field content="title" width="50%"/>
+  </fields>
+</windowSwitcher>
+```
+
 *<windowSwitcher show="" preview="" outlines="" allWorkspaces="">*
        *show* [yes|no] Draw the OnScreenDisplay when switching between
        windows. Default is yes.