Documentation
¶
Overview ¶
Package appicons is the application icon table shared across bar components (wayle-shell-core's bar/icons.rs). Order matters: the first matching pattern wins.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Default = []Entry{}/* 210 elements not displayed */
Default is DEFAULT_APP_ICON_MAP, verbatim and in order.
Functions ¶
func Lookup ¶
Lookup is icons.rs lookup_app_icon: the first Default pattern that matches the name, both lowercased (an exact match counts too, as matches_glob's shortcut does). Callers pass app ids, window classes, or player identities alike.
func Resolve ¶
Resolve is the sway/niri/mango helpers.rs resolve_app_icon: title-prefixed user patterns against the title first, then app- or un-prefixed user patterns against the app id, then the Default table, then fallback. User patterns are tried in sorted key order (the BTreeMap order). Matching is glob.Wildcard: case-sensitive.