Window switch, osd info enhance

This commit is contained in:
Droc 2024-03-14 13:31:36 -05:00
parent 53fc8d5e39
commit d0a11ed111
5 changed files with 77 additions and 0 deletions

View file

@ -216,6 +216,14 @@ this is for compatibility with Openbox.
- *title* Show window title if different to app_id
- *workspace* Show workspace name
- *state* Show window state, M/m/F (max/min/full)
- *type_short* Show view type ("W" or "X")
- *output* Show output id, if more than one output detected
*width* defines the width of the field expressed as a percentage of
the overall window switcher width. The "%" character is required.

View file

@ -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>