]> git.mdlowis.com Git - proto/labwc.git/commitdiff
config: support <desktops number=> update documentation
authorSachin Bhat <sachubhat17@gmail.com>
Sat, 24 Jun 2023 11:46:00 +0000 (19:46 +0800)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sun, 25 Jun 2023 09:31:13 +0000 (10:31 +0100)
docs/labwc-config.5.scd
docs/rc.xml.all

index cbb57a2b9866bc087b1d0f59848da439df121594..0c447fc2ec5a2c56d7d92790bba14e758ea6431c 100644 (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.
index 81b78fdea5c50a14cb108e9a146b7dd763c6d64c..26c5b2019aa6ff92e7c32fd410719305a1c7055c 100644 (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>
         <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 -->
   <!--