osd: support app icons in window switcher

Example configuration:

  <windowSwitcher>
    <fields>
      <field content="icon" width="5%" />
      <field content="title" width="95%" />
    </fields>
  </windowSwitcher>
This commit is contained in:
tokyo4j 2025-03-14 19:33:28 +09:00 committed by Hiroaki Yamamoto
parent 84ba60f453
commit 4ef881bb3e
4 changed files with 26 additions and 9 deletions

View file

@ -303,6 +303,8 @@ this is for compatibility with Openbox.
- *trimmed_identifier* Show trimmed identifier. Trimming removes
the first two nodes of 'org.' strings.
- *icon* Show application icon
- *desktop_entry_name* Show application name from freedesktop.org
desktop entry/file. Falls back to trimmed identifier
(trimmed_identifier).