config: support <desktops number=> update documentation

This commit is contained in:
Sachin Bhat 2023-06-24 19:46:00 +08:00 committed by Johan Malm
parent 1e33734543
commit 629bc9c978
2 changed files with 9 additions and 10 deletions

View file

@ -202,6 +202,10 @@ Therefore, where multiple objects of the same kind are required (for example
GoToDesktop and windows can be moved with SendToDesktop. See
labwc-actions(5) for more information about their arguments.
The number attribute defines the minimum number of workspaces. Default is 1.
The number attribute is optional. If the number attribute is specified, names.name
is not required.
*<desktops><popupTime>*
Define the timeout after which to hide the workspace OSD.
A setting of 0 disables the OSD. Default is 1000 ms.

View file

@ -69,7 +69,7 @@
See man labwc-actions for further information.
Workspaces can be configured like this:
<desktops number="4">
<desktops>
<popupTime>1000</popupTime>
<names>
<name>Workspace 1</name>
@ -78,20 +78,15 @@
<name>Workspace 4</name>
</names>
</desktops>
Or it can also be configured like this:
<desktops number="4" />
-->
<desktops number="4">
<!--
popupTime defaults to 1000 so could be left out.
Set to 0 to completely disable the workspace OSD.
-->
<popupTime>1000</popupTime>
<names>
<name>Default</name>
<name>Browsing</name>
<name>Music</name>
<name>Chat</name>
</names>
</desktops>
<!-- Percent based regions based on output usable area, % char is required -->
<!--