mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
osd: add window-switcher field content types (#1623)
...`workspace`, `state`, `type_short` and `output`.
Example usage:
<windowSwitcher allWorkspaces="yes">
<fields>
<field content="workspace" width="5%" />
<field content="state" width="3%" />
<field content="type_short" width="3%" />
<field content="output" width="9%" />
<field content="identifier" width="30%" />
<field content="title" width="50%" />
</fields>
</windowSwitcher>
This commit is contained in:
parent
901240b321
commit
b0c2ac1a6d
5 changed files with 77 additions and 0 deletions
|
|
@ -63,6 +63,24 @@
|
|||
</fields>
|
||||
</windowSwitcher>
|
||||
|
||||
<!--
|
||||
When using all workspaces option of window switcher, there are extra fields
|
||||
that can be used, workspace (variable length), state (single space),
|
||||
type_short (3 spaces), output (variable length), and can be set up
|
||||
like this. Note: output only shows if more than one output available.
|
||||
|
||||
<windowSwitcher show="yes" preview="no" outlines="no" allWorkspaces="yes">
|
||||
<fields>
|
||||
<field content="workspace" width="5%" />
|
||||
<field content="state" width="3%" />
|
||||
<field content="type_short" width="3%" />
|
||||
<field content="output" width="9%" />
|
||||
<field content="identifier" width="30%" />
|
||||
<field content="title" width="50%" />
|
||||
</fields>
|
||||
</windowSwitcher>
|
||||
-->
|
||||
|
||||
<!-- edge strength is in pixels -->
|
||||
<resistance>
|
||||
<screenEdgeStrength>20</screenEdgeStrength>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue