Function lookupIconTheme

Lookup index.theme files by theme name.

auto auto lookupIconTheme(Range) (
  string themeName,
  Range searchIconDirs
)
if (is(ElementType!Range : string));

Parameters

NameDescription
themeName Theme name (as the base name of theme subdirectory).
searchIconDirs Base icon directories to search icon themes.

Returns

Range of paths to index.theme file corresponding to the given theme.

Note

Usually you want to use the only first found file.

See Also

baseIconDirs, findIconTheme