mirror of
https://github.com/labwc/labwc.git
synced 2026-02-17 22:05:30 -05:00
osd: support full app_id in window switcher (#1309)
Support showing full application identifier or the trimmed variant in window switcher OSD. Regression notice: For anyone using ‘identifier’ in window-switcher field configuration, change it to ‘trimmed_identifier’.
This commit is contained in:
parent
ccd4ab943e
commit
d2d469133f
5 changed files with 24 additions and 2 deletions
|
|
@ -163,6 +163,9 @@ this is for compatibility with Openbox.
|
|||
- *identifier* Show identifier (app_id for native Wayland
|
||||
windows and WM_CLASS for XWayland clients)
|
||||
|
||||
- *trimmed_identifier* Show trimmed identifier. Trimming removes the first
|
||||
two nodes of 'org.' strings.
|
||||
|
||||
- *title* Show window title if different to app_id
|
||||
|
||||
*width* defines the width of the field expressed as a percentage of
|
||||
|
|
|
|||
|
|
@ -56,7 +56,8 @@
|
|||
<windowSwitcher show="yes" preview="yes" outlines="yes">
|
||||
<fields>
|
||||
<field content="type" width="25%" />
|
||||
<field content="identifier" width="25%" />
|
||||
<field content="trimmed_identifier" width="25%" />
|
||||
<!-- <field content="identifier" width="25%" /> -->
|
||||
<field content="title" width="50%" />
|
||||
</fields>
|
||||
</windowSwitcher>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue