workspaces: Implement config parsing

This commit is contained in:
Consolatis 2022-06-15 02:07:22 +02:00
parent d557623c34
commit ae2fa1571b
3 changed files with 63 additions and 0 deletions

View file

@ -39,6 +39,32 @@
<topMaximize>yes</topMaximize>
</snapping>
<!--
Use GoToDesktop left | right to switch workspaces.
Use SendToDesktop left | right to move windows.
See man labwc-actions for futher information.
Workspaces can be configured like this:
<desktops>
<popupTime>1000</popupTime>
<names>
<name>Workspace 1</name>
<name>Workspace 2</name>
<name>Workspace 3</name>
</names>
</desktops>
-->
<desktops>
<!--
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>
</names>
</desktops>
<!--
Keybind actions are specified in labwc-actions(5)
The following keybind modifiers are supported: