mirror of
https://github.com/labwc/labwc.git
synced 2026-02-07 04:07:42 -05:00
workspaces: Implement config parsing
This commit is contained in:
parent
d557623c34
commit
ae2fa1571b
3 changed files with 63 additions and 0 deletions
|
|
@ -88,6 +88,7 @@ The rest of this man page describes configuration options.
|
|||
Raise window to top when focused. Default is no.
|
||||
|
||||
## WINDOW SNAPPING
|
||||
|
||||
*<snapping><range>*
|
||||
The distance in pixels from the edge of an ouput for window Move
|
||||
operations to trigger SnapToEdge. A range of 0 disables window snapping.
|
||||
|
|
@ -96,6 +97,18 @@ The rest of this man page describes configuration options.
|
|||
*<snapping><topMaximize>* [yes|no]
|
||||
Maximize window if Move operation ends on the top edge. Default is yes.
|
||||
|
||||
## WORKSPACES
|
||||
|
||||
*<desktops><names><name>*
|
||||
Define workspaces. A workspace covers all outputs. The OSD only shows
|
||||
windows on the current workspace. Workspaces can be switched to with
|
||||
GoToDesktop and windows can be moved with SendToDesktop. See
|
||||
labwc-actions(5) for more information about their arguments.
|
||||
|
||||
*<desktops><popupTime>*
|
||||
Define the timeout after which to hide the workspace OSD.
|
||||
A setting of 0 disables the OSD. Default is 1000 ms.
|
||||
|
||||
## THEME
|
||||
|
||||
*<theme><name>*
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue