osd: add thumbnailLabelFormat to windowSwitcher (#3187)
Some checks failed
labwc.github.io / notify (push) Has been cancelled

This commit adds `<windowSwitcher thumbnailLabelFormat="%T">` to configure the label text in each item in the thumbnail-style window switcher. Its format follows `<fields><field content="custom" format="">`.
This commit is contained in:
elviosak 2025-11-05 06:23:15 -03:00 committed by GitHub
parent 8b950350ed
commit c8167c8ee0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 34 additions and 21 deletions

View file

@ -183,6 +183,7 @@ struct rcxml {
enum lab_view_criteria criteria;
struct wl_list fields; /* struct window_switcher_field.link */
enum window_switcher_style style;
char *thumbnail_label_format;
} window_switcher;
struct wl_list window_rules; /* struct window_rule.link */