docs/rc.xml.all: adjust format

...to align with how libxml2 likes it because that helps when working with
labwc-tweaks in that it is easier to spot differences in the file.
This commit is contained in:
Johan Malm 2026-02-04 20:45:07 +00:00
parent af5861c611
commit 1155352bb6

View file

@ -21,7 +21,6 @@
<promptCommand></promptCommand>
-->
</core>
<placement>
<policy>cascade</policy>
<!--
@ -30,7 +29,6 @@
<cascadeOffset x="40" y="30" />
-->
</placement>
<!-- <font><theme> can be defined without an attribute to set all places -->
<theme>
<!-- <name>Numix</name> -->
@ -76,7 +74,6 @@
<weight>normal</weight>
</font>
</theme>
<windowSwitcher preview="yes" outlines="yes" unshade="yes">
<osd show="yes" style="classic" output="all" thumbnailLabelFormat="%T"/>
<fields>
@ -92,7 +89,6 @@
-->
</fields>
</windowSwitcher>
<!--
Many other kinds of content are supported in the window switcher like below.
Some contents are fixed-length and others are variable-length.
@ -126,7 +122,6 @@
</fields>
</windowSwitcher>
-->
<!-- edge strength is in pixels -->
<resistance>
<screenEdgeStrength>20</screenEdgeStrength>
@ -136,7 +131,6 @@
<!-- resistance for vertically/horizontally maximized windows -->
<unMaximizeThreshold>150</unMaximizeThreshold>
</resistance>
<resize>
<!-- Show a simple resize and move indicator -->
<popupShow>Never</popupShow>
@ -144,7 +138,6 @@
<drawContents>yes</drawContents>
<!-- Borders are effectively 8 pixels wide regardless of visual appearance -->
<minimumArea>8</minimumArea>
<!--
Set cornerRange to a positive value to increase the size of corner
regions for mouse actions and diagonal window resizing. When omitted,
@ -153,13 +146,11 @@
<cornerRange>8</cornerRange>
-->
</resize>
<focus>
<followMouse>no</followMouse>
<followMouseRequiresMovement>yes</followMouseRequiresMovement>
<raiseOnFocus>no</raiseOnFocus>
</focus>
<snapping>
<!-- Set inner and outer range to 0 to disable window snapping completely -->
<range inner="10" outer="10"/>
@ -170,7 +161,6 @@
<topMaximize>yes</topMaximize>
<notifyClient>always</notifyClient>
</snapping>
<!--
Workspaces can be configured like this:
<desktops>
@ -212,7 +202,6 @@
<name>Default</name>
</names>
</desktops>
<!--
<margin> can be used to reserve space where new/maximized/tiled
windows will not be placed. Clients using layer-shell protocol reserve
@ -223,7 +212,6 @@
<margin top="10" bottom="10" left="10" right="10" output="HDMI-A-1" />
-->
<!-- Percent based regions based on output usable area, % char is required -->
<!--
<regions>
@ -238,7 +226,6 @@
<region name="bottom-right" x="50%" y="50%" height="50%" width="50%" />
</regions>
-->
<!--
Keybind actions are specified in labwc-actions(5)
The following keybind modifiers are supported:
@ -347,7 +334,6 @@
</keybind>
-->
</keyboard>
<!--
Multiple <mousebind> can exist within one <context>
Multiple <actions> can exist within one <mousebind>
@ -360,10 +346,8 @@
example.
-->
<mouse>
<!-- time is in ms -->
<doubleClickTime>500</doubleClickTime>
<context name="Frame">
<mousebind button="W-Left" action="Press">
<action name="Focus"/>
@ -380,7 +364,6 @@
<action name="Resize"/>
</mousebind>
</context>
<context name="Border">
<mousebind button="Left" action="Press">
<action name="Focus"/>
@ -390,7 +373,6 @@
<action name="Resize"/>
</mousebind>
</context>
<context name="TitleBar">
<mousebind button="Left" action="Press">
<action name="Focus"/>
@ -409,7 +391,6 @@
<action name="Shade"/>
</mousebind>
</context>
<context name="Title">
<mousebind button="Left" action="Drag">
<action name="Move"/>
@ -421,7 +402,6 @@
<action name="ShowMenu" menu="client-menu"/>
</mousebind>
</context>
<context name="Maximize">
<mousebind button="Left" action="Click">
<action name="ToggleMaximize"/>
@ -433,7 +413,6 @@
<action name="ToggleMaximize" direction="vertical"/>
</mousebind>
</context>
<context name="WindowMenu">
<mousebind button="Left" action="Click">
<action name="ShowMenu" menu="client-menu" atCursor="no"/>
@ -442,7 +421,6 @@
<action name="ShowMenu" menu="client-menu" atCursor="no"/>
</mousebind>
</context>
<context name="Icon">
<mousebind button="Left" action="Click">
<action name="ShowMenu" menu="client-menu" atCursor="no"/>
@ -451,31 +429,26 @@
<action name="ShowMenu" menu="client-menu" atCursor="no"/>
</mousebind>
</context>
<context name="Shade">
<mousebind button="Left" action="Click">
<action name="ToggleShade"/>
</mousebind>
</context>
<context name="AllDesktops">
<mousebind button="Left" action="Click">
<action name="ToggleOmnipresent"/>
</mousebind>
</context>
<context name="Iconify">
<mousebind button="Left" action="Click">
<action name="Iconify"/>
</mousebind>
</context>
<context name="Close">
<mousebind button="Left" action="Click">
<action name="Close"/>
</mousebind>
</context>
<context name="Client">
<mousebind button="Left" action="Press">
<action name="Focus"/>
@ -490,7 +463,6 @@
<action name="Raise"/>
</mousebind>
</context>
<context name="Root">
<mousebind button="Left" action="Press">
<action name="ShowMenu" menu="root-menu"/>
@ -510,9 +482,7 @@
<action name="GoToDesktop" to="right" wrap="yes"/>
</mousebind>
</context>
</mouse>
<!--
A touch configuration can be bound to a specific device. If device
name is left empty, the touch configuration applies to all touch
@ -531,7 +501,6 @@
<!-- <mapToOutput>HDMI-A-1</mapToOutput> -->
<mouseEmulation>no</mouseEmulation>
</touch>
<!--
The tablet cursor movement can be restricted to a single output.
If output is left empty or the output does not exists, the tablet
@ -565,7 +534,6 @@
<map button="Stylus" to="Right"/>
<map button="Stylus2" to="Middle"/>
</tablet>
<!--
All tablet tools, except of type mouse and lens, use absolute
positioning by default. The *motion* attribute allows to set tools
@ -575,7 +543,6 @@
1.0 increases the speed of the cursor.
-->
<tabletTool motion="absolute" relativeMotionSensitivity="1.0"/>
<!--
The *category* attribute is optional and can be set to touch, touchpad,
non-touch, default or the name of a device. You can obtain device names by
@ -599,7 +566,6 @@
if you require to override the default. Valid values must be inserted.
-->
<libinput>
<device category="default">
<!-- <naturalScroll>no</naturalScroll> -->
@ -620,7 +586,6 @@
<scrollFactor>1.0</scrollFactor>
</device>
</libinput>
<!--
# Window Rules
# - Criteria can consist of 'identifier', 'title', 'sandboxEngine' or
@ -664,12 +629,10 @@
</windowRule>
</windowRules>
-->
<menu>
<ignoreButtonReleasePeriod>250</ignoreButtonReleasePeriod>
<showIcons>yes</showIcons>
</menu>
<!--
Magnifier settings
'width' sets the width in pixels of the magnifier window.
@ -687,5 +650,4 @@
<increment>0.2</increment>
<useFilter>yes</useFilter>
</magnifier>
</labwc_config>