workspaces: add config option for initial workspace selection
Some checks failed
labwc.github.io / notify (push) Has been cancelled

This commit is contained in:
Cameron Scott McCreery 2025-12-22 16:17:43 -05:00 committed by GitHub
parent c9b088e343
commit 64aec6ff5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 64 additions and 29 deletions

View file

@ -575,6 +575,11 @@ extending outward from the snapped edge.
is 1. The number attribute is optional. If the number attribute is
specified, names.name is not required.
*<desktops><initial>*
Define the initial starting workspace. This must match one of the names
defined in <names> or must be an index equal to or lower than <number>.
If not set, the first workspace is used.
*<desktops><popupTime>*
Define the timeout after which to hide the workspace OSD.
A setting of 0 disables the OSD. Default is 1000 ms.

View file

@ -175,6 +175,7 @@
Workspaces can be configured like this:
<desktops>
<popupTime>1000</popupTime>
<initial>Workspace 1</initial>
<names>
<name>Workspace 1</name>
<name>Workspace 2</name>