mirror of
https://github.com/labwc/labwc.git
synced 2026-02-14 04:28:07 -05:00
config: support window switcher field definitions
<windowSwitcher>
<fields>
<field content="type" width="25%" />
<field content="app_id" width="25%" />
<field content="title" width="50%" />
</fields>
</windowSwitcher>
Relates to issues #852 #855 #879
This commit is contained in:
parent
36849eb7ef
commit
0f37c04df0
5 changed files with 198 additions and 34 deletions
|
|
@ -89,6 +89,20 @@ The rest of this man page describes configuration options.
|
|||
*outlines* [yes|no] Draw an outline around the selected window when
|
||||
switching between windows. Default is yes.
|
||||
|
||||
*<windowSwitcher><fields><field content="" width="%">*
|
||||
Define window switcher fields.
|
||||
|
||||
*content* defines what the field shows and can be any of:
|
||||
|
||||
- *type* Show view type ("xdg-shell" or "xwayland")
|
||||
|
||||
- *app_id* Show app_id (class for XWayland)
|
||||
|
||||
- *title* Show window title if different to app_id
|
||||
|
||||
*width* defines the width of the field expressed as a percentage of
|
||||
the overall window switcher width. The "%" character is required.
|
||||
|
||||
## RESISTANCE
|
||||
|
||||
*<resistance><screenEdgeStrength>*
|
||||
|
|
|
|||
|
|
@ -38,7 +38,13 @@
|
|||
</font>
|
||||
</theme>
|
||||
|
||||
<windowSwitcher show="yes" preview="yes" outlines="yes" />
|
||||
<windowSwitcher show="yes" preview="yes" outlines="yes">
|
||||
<fields>
|
||||
<field content="type" width="25%" />
|
||||
<field content="app_id" width="25%" />
|
||||
<field content="title" width="50%" />
|
||||
</fields>
|
||||
</windowSwitcher>
|
||||
|
||||
<!-- edge strength is in pixels -->
|
||||
<resistance>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue