labwc-config(5): add XML examples at start of some sections

This commit is contained in:
Johan Malm 2024-12-08 17:48:16 +00:00 committed by Consolatis
parent 79232a61c1
commit 0b357a3bd4

View 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.