config: support <desktops number=>

Documentation updated at  and
This commit is contained in:
Sachin Bhat 2023-06-23 14:34:34 +08:00 committed by Johan Malm
parent 9bb4f44688
commit 1e33734543
2 changed files with 7 additions and 3 deletions

View file

@ -196,7 +196,7 @@ Therefore, where multiple objects of the same kind are required (for example
## WORKSPACES ## WORKSPACES
*<desktops><names><name>* *<desktops number=""><names><name>*
Define workspaces. A workspace covers all outputs. The OSD only shows Define workspaces. A workspace covers all outputs. The OSD only shows
windows on the current workspace. Workspaces can be switched to with windows on the current workspace. Workspaces can be switched to with
GoToDesktop and windows can be moved with SendToDesktop. See GoToDesktop and windows can be moved with SendToDesktop. See

View file

@ -69,16 +69,17 @@
See man labwc-actions for further information. See man labwc-actions for further information.
Workspaces can be configured like this: Workspaces can be configured like this:
<desktops> <desktops number="4">
<popupTime>1000</popupTime> <popupTime>1000</popupTime>
<names> <names>
<name>Workspace 1</name> <name>Workspace 1</name>
<name>Workspace 2</name> <name>Workspace 2</name>
<name>Workspace 3</name> <name>Workspace 3</name>
<name>Workspace 4</name>
</names> </names>
</desktops> </desktops>
--> -->
<desktops> <desktops number="4">
<!-- <!--
popupTime defaults to 1000 so could be left out. popupTime defaults to 1000 so could be left out.
Set to 0 to completely disable the workspace OSD. Set to 0 to completely disable the workspace OSD.
@ -86,6 +87,9 @@
<popupTime>1000</popupTime> <popupTime>1000</popupTime>
<names> <names>
<name>Default</name> <name>Default</name>
<name>Browsing</name>
<name>Music</name>
<name>Chat</name>
</names> </names>
</desktops> </desktops>