From ae2fa1571b3fcfe8f7f0daa14394813b9bd72292 Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Wed, 15 Jun 2022 02:07:22 +0200 Subject: [PATCH] workspaces: Implement config parsing --- docs/labwc-config.5.scd | 13 +++++++++++++ docs/rc.xml.all | 26 ++++++++++++++++++++++++++ src/config/rcxml.c | 24 ++++++++++++++++++++++++ 3 files changed, 63 insertions(+) diff --git a/docs/labwc-config.5.scd b/docs/labwc-config.5.scd index 73c74bfe..034fb324 100644 --- a/docs/labwc-config.5.scd +++ b/docs/labwc-config.5.scd @@ -88,6 +88,7 @@ The rest of this man page describes configuration options. Raise window to top when focused. Default is no. ## WINDOW SNAPPING + ** 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. ** [yes|no] Maximize window if Move operation ends on the top edge. Default is yes. +## WORKSPACES + +** + 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. + +** + Define the timeout after which to hide the workspace OSD. + A setting of 0 disables the OSD. Default is 1000 ms. + ## THEME ** diff --git a/docs/rc.xml.all b/docs/rc.xml.all index 5acc5bcc..1468b9f7 100644 --- a/docs/rc.xml.all +++ b/docs/rc.xml.all @@ -39,6 +39,32 @@ yes + + + + 1000 + + Default + + +