Function lookupNonThemedIcon

Lookup icon alternatives beyond the icon themes. May be used as fallback lookup, if lookupIcon returned empty range.

auto auto lookupNonThemedIcon(BaseDirs, Exts) (
  string iconName,
  BaseDirs searchIconDirs,
  Exts extensions
)
if (isInputRange!BaseDirs && isForwardRange!Exts && is(ElementType!BaseDirs : string) && is(ElementType!Exts : string));

Returns

The range of found icon file paths.

Example

auto result = lookupNonThemedIcon("folder", baseIconDirs(), [".png", ".xpm"]);

See Also

baseIconDirs, lookupIcon, lookupNonThemedIcons