mirror of
https://github.com/labwc/labwc.git
synced 2025-11-30 06:59:52 -05:00
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:
parent
84ba60f453
commit
4ef881bb3e
4 changed files with 26 additions and 9 deletions
|
|
@ -319,6 +319,8 @@ osd_field_arg_from_xml_node(struct window_switcher_field *field,
|
|||
field->content = LAB_FIELD_IDENTIFIER;
|
||||
} else if (!strcmp(content, "trimmed_identifier")) {
|
||||
field->content = LAB_FIELD_TRIMMED_IDENTIFIER;
|
||||
} else if (!strcmp(content, "icon")) {
|
||||
field->content = LAB_FIELD_ICON;
|
||||
} else if (!strcmp(content, "desktop_entry_name")) {
|
||||
field->content = LAB_FIELD_DESKTOP_ENTRY_NAME;
|
||||
} else if (!strcmp(content, "title")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue