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> <promptCommand></promptCommand>
--> -->
</core> </core>
<placement> <placement>
<policy>cascade</policy> <policy>cascade</policy>
<!-- <!--
@ -30,7 +29,6 @@
<cascadeOffset x="40" y="30" /> <cascadeOffset x="40" y="30" />
--> -->
</placement> </placement>
<!-- <font><theme> can be defined without an attribute to set all places --> <!-- <font><theme> can be defined without an attribute to set all places -->
<theme> <theme>
<!-- <name>Numix</name> --> <!-- <name>Numix</name> -->
@ -76,13 +74,12 @@
<weight>normal</weight> <weight>normal</weight>
</font> </font>
</theme> </theme>
<windowSwitcher preview="yes" outlines="yes" unshade="yes"> <windowSwitcher preview="yes" outlines="yes" unshade="yes">
<osd show="yes" style="classic" output="all" thumbnailLabelFormat="%T" /> <osd show="yes" style="classic" output="all" thumbnailLabelFormat="%T"/>
<fields> <fields>
<field content="icon" width="5%" /> <field content="icon" width="5%"/>
<field content="desktop_entry_name" width="30%" /> <field content="desktop_entry_name" width="30%"/>
<field content="title" width="65%" /> <field content="title" width="65%"/>
<!-- <!--
Just as for window-rules, you can use 'identifier' or Just as for window-rules, you can use 'identifier' or
'trimmed_identifier' to show the app_id for native wayland clients or 'trimmed_identifier' to show the app_id for native wayland clients or
@ -92,7 +89,6 @@
--> -->
</fields> </fields>
</windowSwitcher> </windowSwitcher>
<!-- <!--
Many other kinds of content are supported in the window switcher like below. Many other kinds of content are supported in the window switcher like below.
Some contents are fixed-length and others are variable-length. Some contents are fixed-length and others are variable-length.
@ -126,7 +122,6 @@
</fields> </fields>
</windowSwitcher> </windowSwitcher>
--> -->
<!-- edge strength is in pixels --> <!-- edge strength is in pixels -->
<resistance> <resistance>
<screenEdgeStrength>20</screenEdgeStrength> <screenEdgeStrength>20</screenEdgeStrength>
@ -136,7 +131,6 @@
<!-- resistance for vertically/horizontally maximized windows --> <!-- resistance for vertically/horizontally maximized windows -->
<unMaximizeThreshold>150</unMaximizeThreshold> <unMaximizeThreshold>150</unMaximizeThreshold>
</resistance> </resistance>
<resize> <resize>
<!-- Show a simple resize and move indicator --> <!-- Show a simple resize and move indicator -->
<popupShow>Never</popupShow> <popupShow>Never</popupShow>
@ -144,7 +138,6 @@
<drawContents>yes</drawContents> <drawContents>yes</drawContents>
<!-- Borders are effectively 8 pixels wide regardless of visual appearance --> <!-- Borders are effectively 8 pixels wide regardless of visual appearance -->
<minimumArea>8</minimumArea> <minimumArea>8</minimumArea>
<!-- <!--
Set cornerRange to a positive value to increase the size of corner Set cornerRange to a positive value to increase the size of corner
regions for mouse actions and diagonal window resizing. When omitted, regions for mouse actions and diagonal window resizing. When omitted,
@ -153,24 +146,21 @@
<cornerRange>8</cornerRange> <cornerRange>8</cornerRange>
--> -->
</resize> </resize>
<focus> <focus>
<followMouse>no</followMouse> <followMouse>no</followMouse>
<followMouseRequiresMovement>yes</followMouseRequiresMovement> <followMouseRequiresMovement>yes</followMouseRequiresMovement>
<raiseOnFocus>no</raiseOnFocus> <raiseOnFocus>no</raiseOnFocus>
</focus> </focus>
<snapping> <snapping>
<!-- Set inner and outer range to 0 to disable window snapping completely --> <!-- Set inner and outer range to 0 to disable window snapping completely -->
<range inner="10" outer="10" /> <range inner="10" outer="10"/>
<cornerRange>50</cornerRange> <cornerRange>50</cornerRange>
<overlay enabled="yes"> <overlay enabled="yes">
<delay inner="500" outer="500" /> <delay inner="500" outer="500"/>
</overlay> </overlay>
<topMaximize>yes</topMaximize> <topMaximize>yes</topMaximize>
<notifyClient>always</notifyClient> <notifyClient>always</notifyClient>
</snapping> </snapping>
<!-- <!--
Workspaces can be configured like this: Workspaces can be configured like this:
<desktops> <desktops>
@ -212,7 +202,6 @@
<name>Default</name> <name>Default</name>
</names> </names>
</desktops> </desktops>
<!-- <!--
<margin> can be used to reserve space where new/maximized/tiled <margin> can be used to reserve space where new/maximized/tiled
windows will not be placed. Clients using layer-shell protocol reserve 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" /> <margin top="10" bottom="10" left="10" right="10" output="HDMI-A-1" />
--> -->
<!-- Percent based regions based on output usable area, % char is required --> <!-- Percent based regions based on output usable area, % char is required -->
<!-- <!--
<regions> <regions>
@ -238,7 +226,6 @@
<region name="bottom-right" x="50%" y="50%" height="50%" width="50%" /> <region name="bottom-right" x="50%" y="50%" height="50%" width="50%" />
</regions> </regions>
--> -->
<!-- <!--
Keybind actions are specified in labwc-actions(5) Keybind actions are specified in labwc-actions(5)
The following keybind modifiers are supported: The following keybind modifiers are supported:
@ -262,49 +249,49 @@
<repeatRate>25</repeatRate> <repeatRate>25</repeatRate>
<repeatDelay>600</repeatDelay> <repeatDelay>600</repeatDelay>
<keybind key="A-Tab"> <keybind key="A-Tab">
<action name="NextWindow" /> <action name="NextWindow"/>
</keybind> </keybind>
<keybind key="A-S-Tab"> <keybind key="A-S-Tab">
<action name="PreviousWindow" /> <action name="PreviousWindow"/>
</keybind> </keybind>
<keybind key="W-Return"> <keybind key="W-Return">
<action name="Execute" command="lab-sensible-terminal" /> <action name="Execute" command="lab-sensible-terminal"/>
</keybind> </keybind>
<keybind key="A-F4"> <keybind key="A-F4">
<action name="Close" /> <action name="Close"/>
</keybind> </keybind>
<keybind key="W-a"> <keybind key="W-a">
<action name="ToggleMaximize" /> <action name="ToggleMaximize"/>
</keybind> </keybind>
<keybind key="W-Left"> <keybind key="W-Left">
<action name="SnapToEdge" direction="left" combine="yes" /> <action name="SnapToEdge" direction="left" combine="yes"/>
</keybind> </keybind>
<keybind key="W-Right"> <keybind key="W-Right">
<action name="SnapToEdge" direction="right" combine="yes" /> <action name="SnapToEdge" direction="right" combine="yes"/>
</keybind> </keybind>
<keybind key="W-Up"> <keybind key="W-Up">
<action name="SnapToEdge" direction="up" combine="yes" /> <action name="SnapToEdge" direction="up" combine="yes"/>
</keybind> </keybind>
<keybind key="W-Down"> <keybind key="W-Down">
<action name="SnapToEdge" direction="down" combine="yes" /> <action name="SnapToEdge" direction="down" combine="yes"/>
</keybind> </keybind>
<keybind key="A-Space"> <keybind key="A-Space">
<action name="ShowMenu" menu="client-menu" atCursor="no" /> <action name="ShowMenu" menu="client-menu" atCursor="no"/>
</keybind> </keybind>
<keybind key="XF86_AudioLowerVolume"> <keybind key="XF86_AudioLowerVolume">
<action name="Execute" command="amixer sset Master 5%-" /> <action name="Execute" command="amixer sset Master 5%-"/>
</keybind> </keybind>
<keybind key="XF86_AudioRaiseVolume"> <keybind key="XF86_AudioRaiseVolume">
<action name="Execute" command="amixer sset Master 5%+" /> <action name="Execute" command="amixer sset Master 5%+"/>
</keybind> </keybind>
<keybind key="XF86_AudioMute"> <keybind key="XF86_AudioMute">
<action name="Execute" command="amixer sset Master toggle" /> <action name="Execute" command="amixer sset Master toggle"/>
</keybind> </keybind>
<keybind key="XF86_MonBrightnessUp"> <keybind key="XF86_MonBrightnessUp">
<action name="Execute" command="brightnessctl set +10%" /> <action name="Execute" command="brightnessctl set +10%"/>
</keybind> </keybind>
<keybind key="XF86_MonBrightnessDown"> <keybind key="XF86_MonBrightnessDown">
<action name="Execute" command="brightnessctl set 10%-" /> <action name="Execute" command="brightnessctl set 10%-"/>
</keybind> </keybind>
<!-- SnapToRegion via W-Numpad --> <!-- SnapToRegion via W-Numpad -->
<!-- <!--
@ -347,7 +334,6 @@
</keybind> </keybind>
--> -->
</keyboard> </keyboard>
<!-- <!--
Multiple <mousebind> can exist within one <context> Multiple <mousebind> can exist within one <context>
Multiple <actions> can exist within one <mousebind> Multiple <actions> can exist within one <mousebind>
@ -360,159 +346,143 @@
example. example.
--> -->
<mouse> <mouse>
<!-- time is in ms --> <!-- time is in ms -->
<doubleClickTime>500</doubleClickTime> <doubleClickTime>500</doubleClickTime>
<context name="Frame"> <context name="Frame">
<mousebind button="W-Left" action="Press"> <mousebind button="W-Left" action="Press">
<action name="Focus" /> <action name="Focus"/>
<action name="Raise" /> <action name="Raise"/>
</mousebind> </mousebind>
<mousebind button="W-Left" action="Drag"> <mousebind button="W-Left" action="Drag">
<action name="Move" /> <action name="Move"/>
</mousebind> </mousebind>
<mousebind button="W-Right" action="Press"> <mousebind button="W-Right" action="Press">
<action name="Focus" /> <action name="Focus"/>
<action name="Raise" /> <action name="Raise"/>
</mousebind> </mousebind>
<mousebind button="W-Right" action="Drag"> <mousebind button="W-Right" action="Drag">
<action name="Resize" /> <action name="Resize"/>
</mousebind> </mousebind>
</context> </context>
<context name="Border"> <context name="Border">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus" /> <action name="Focus"/>
<action name="Raise" /> <action name="Raise"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Drag"> <mousebind button="Left" action="Drag">
<action name="Resize" /> <action name="Resize"/>
</mousebind> </mousebind>
</context> </context>
<context name="TitleBar"> <context name="TitleBar">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus" /> <action name="Focus"/>
<action name="Raise" /> <action name="Raise"/>
</mousebind> </mousebind>
<mousebind button="Right" action="Click"> <mousebind button="Right" action="Click">
<action name="Focus" /> <action name="Focus"/>
<action name="Raise" /> <action name="Raise"/>
</mousebind> </mousebind>
<mousebind direction="Up" action="Scroll"> <mousebind direction="Up" action="Scroll">
<action name="Unshade" /> <action name="Unshade"/>
<action name="Focus" /> <action name="Focus"/>
</mousebind> </mousebind>
<mousebind direction="Down" action="Scroll"> <mousebind direction="Down" action="Scroll">
<action name="Unfocus" /> <action name="Unfocus"/>
<action name="Shade" /> <action name="Shade"/>
</mousebind> </mousebind>
</context> </context>
<context name="Title"> <context name="Title">
<mousebind button="Left" action="Drag"> <mousebind button="Left" action="Drag">
<action name="Move" /> <action name="Move"/>
</mousebind> </mousebind>
<mousebind button="Left" action="DoubleClick"> <mousebind button="Left" action="DoubleClick">
<action name="ToggleMaximize" /> <action name="ToggleMaximize"/>
</mousebind> </mousebind>
<mousebind button="Right" action="Click"> <mousebind button="Right" action="Click">
<action name="ShowMenu" menu="client-menu" /> <action name="ShowMenu" menu="client-menu"/>
</mousebind> </mousebind>
</context> </context>
<context name="Maximize"> <context name="Maximize">
<mousebind button="Left" action="Click"> <mousebind button="Left" action="Click">
<action name="ToggleMaximize" /> <action name="ToggleMaximize"/>
</mousebind> </mousebind>
<mousebind button="Right" action="Click"> <mousebind button="Right" action="Click">
<action name="ToggleMaximize" direction="horizontal" /> <action name="ToggleMaximize" direction="horizontal"/>
</mousebind> </mousebind>
<mousebind button="Middle" action="Click"> <mousebind button="Middle" action="Click">
<action name="ToggleMaximize" direction="vertical" /> <action name="ToggleMaximize" direction="vertical"/>
</mousebind> </mousebind>
</context> </context>
<context name="WindowMenu"> <context name="WindowMenu">
<mousebind button="Left" action="Click"> <mousebind button="Left" action="Click">
<action name="ShowMenu" menu="client-menu" atCursor="no" /> <action name="ShowMenu" menu="client-menu" atCursor="no"/>
</mousebind> </mousebind>
<mousebind button="Right" action="Click"> <mousebind button="Right" action="Click">
<action name="ShowMenu" menu="client-menu" atCursor="no" /> <action name="ShowMenu" menu="client-menu" atCursor="no"/>
</mousebind> </mousebind>
</context> </context>
<context name="Icon"> <context name="Icon">
<mousebind button="Left" action="Click"> <mousebind button="Left" action="Click">
<action name="ShowMenu" menu="client-menu" atCursor="no" /> <action name="ShowMenu" menu="client-menu" atCursor="no"/>
</mousebind> </mousebind>
<mousebind button="Right" action="Click"> <mousebind button="Right" action="Click">
<action name="ShowMenu" menu="client-menu" atCursor="no" /> <action name="ShowMenu" menu="client-menu" atCursor="no"/>
</mousebind> </mousebind>
</context> </context>
<context name="Shade"> <context name="Shade">
<mousebind button="Left" action="Click"> <mousebind button="Left" action="Click">
<action name="ToggleShade" /> <action name="ToggleShade"/>
</mousebind> </mousebind>
</context> </context>
<context name="AllDesktops"> <context name="AllDesktops">
<mousebind button="Left" action="Click"> <mousebind button="Left" action="Click">
<action name="ToggleOmnipresent" /> <action name="ToggleOmnipresent"/>
</mousebind> </mousebind>
</context> </context>
<context name="Iconify"> <context name="Iconify">
<mousebind button="Left" action="Click"> <mousebind button="Left" action="Click">
<action name="Iconify" /> <action name="Iconify"/>
</mousebind> </mousebind>
</context> </context>
<context name="Close"> <context name="Close">
<mousebind button="Left" action="Click"> <mousebind button="Left" action="Click">
<action name="Close" /> <action name="Close"/>
</mousebind> </mousebind>
</context> </context>
<context name="Client"> <context name="Client">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus" /> <action name="Focus"/>
<action name="Raise" /> <action name="Raise"/>
</mousebind> </mousebind>
<mousebind button="Middle" action="Press"> <mousebind button="Middle" action="Press">
<action name="Focus" /> <action name="Focus"/>
<action name="Raise" /> <action name="Raise"/>
</mousebind> </mousebind>
<mousebind button="Right" action="Press"> <mousebind button="Right" action="Press">
<action name="Focus" /> <action name="Focus"/>
<action name="Raise" /> <action name="Raise"/>
</mousebind> </mousebind>
</context> </context>
<context name="Root"> <context name="Root">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="ShowMenu" menu="root-menu" /> <action name="ShowMenu" menu="root-menu"/>
</mousebind> </mousebind>
<mousebind button="Right" action="Press"> <mousebind button="Right" action="Press">
<action name="ShowMenu" menu="root-menu" /> <action name="ShowMenu" menu="root-menu"/>
</mousebind> </mousebind>
<mousebind button="Middle" action="Press"> <mousebind button="Middle" action="Press">
<action name="ShowMenu" menu="root-menu" /> <action name="ShowMenu" menu="root-menu"/>
<!-- openbox default, swap with above line to activate --> <!-- openbox default, swap with above line to activate -->
<!-- <action name="ShowMenu" menu="client-list-combined-menu" /> --> <!-- <action name="ShowMenu" menu="client-list-combined-menu" /> -->
</mousebind> </mousebind>
<mousebind direction="Up" action="Scroll"> <mousebind direction="Up" action="Scroll">
<action name="GoToDesktop" to="left" wrap="yes" /> <action name="GoToDesktop" to="left" wrap="yes"/>
</mousebind> </mousebind>
<mousebind direction="Down" action="Scroll"> <mousebind direction="Down" action="Scroll">
<action name="GoToDesktop" to="right" wrap="yes" /> <action name="GoToDesktop" to="right" wrap="yes"/>
</mousebind> </mousebind>
</context> </context>
</mouse> </mouse>
<!-- <!--
A touch configuration can be bound to a specific device. If device A touch configuration can be bound to a specific device. If device
name is left empty, the touch configuration applies to all touch name is left empty, the touch configuration applies to all touch
@ -531,7 +501,6 @@
<!-- <mapToOutput>HDMI-A-1</mapToOutput> --> <!-- <mapToOutput>HDMI-A-1</mapToOutput> -->
<mouseEmulation>no</mouseEmulation> <mouseEmulation>no</mouseEmulation>
</touch> </touch>
<!-- <!--
The tablet cursor movement can be restricted to a single output. The tablet cursor movement can be restricted to a single output.
If output is left empty or the output does not exists, the tablet If output is left empty or the output does not exists, the tablet
@ -560,12 +529,11 @@
<tablet rotate="0" mouseEmulation="no"> <tablet rotate="0" mouseEmulation="no">
<!-- <mapToOutput>HDMI-A-1</mapToOutput> --> <!-- <mapToOutput>HDMI-A-1</mapToOutput> -->
<!-- Active area dimensions are in mm --> <!-- Active area dimensions are in mm -->
<area top="0.0" left="0.0" width="0.0" height="0.0" /> <area top="0.0" left="0.0" width="0.0" height="0.0"/>
<map button="Tip" to="Left" /> <map button="Tip" to="Left"/>
<map button="Stylus" to="Right" /> <map button="Stylus" to="Right"/>
<map button="Stylus2" to="Middle" /> <map button="Stylus2" to="Middle"/>
</tablet> </tablet>
<!-- <!--
All tablet tools, except of type mouse and lens, use absolute All tablet tools, except of type mouse and lens, use absolute
positioning by default. The *motion* attribute allows to set tools positioning by default. The *motion* attribute allows to set tools
@ -574,8 +542,7 @@
a value lower than 1.0 decreases the speed, using a value greater than a value lower than 1.0 decreases the speed, using a value greater than
1.0 increases the speed of the cursor. 1.0 increases the speed of the cursor.
--> -->
<tabletTool motion="absolute" relativeMotionSensitivity="1.0" /> <tabletTool motion="absolute" relativeMotionSensitivity="1.0"/>
<!-- <!--
The *category* attribute is optional and can be set to touch, touchpad, 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 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. if you require to override the default. Valid values must be inserted.
--> -->
<libinput> <libinput>
<device category="default"> <device category="default">
<!-- <naturalScroll>no</naturalScroll> --> <!-- <naturalScroll>no</naturalScroll> -->
@ -620,7 +586,6 @@
<scrollFactor>1.0</scrollFactor> <scrollFactor>1.0</scrollFactor>
</device> </device>
</libinput> </libinput>
<!-- <!--
# Window Rules # Window Rules
# - Criteria can consist of 'identifier', 'title', 'sandboxEngine' or # - Criteria can consist of 'identifier', 'title', 'sandboxEngine' or
@ -664,12 +629,10 @@
</windowRule> </windowRule>
</windowRules> </windowRules>
--> -->
<menu> <menu>
<ignoreButtonReleasePeriod>250</ignoreButtonReleasePeriod> <ignoreButtonReleasePeriod>250</ignoreButtonReleasePeriod>
<showIcons>yes</showIcons> <showIcons>yes</showIcons>
</menu> </menu>
<!-- <!--
Magnifier settings Magnifier settings
'width' sets the width in pixels of the magnifier window. 'width' sets the width in pixels of the magnifier window.
@ -687,5 +650,4 @@
<increment>0.2</increment> <increment>0.2</increment>
<useFilter>yes</useFilter> <useFilter>yes</useFilter>
</magnifier> </magnifier>
</labwc_config> </labwc_config>