lookupIconTheme

Lookup index.theme files by theme name.

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

Parameters

themeName string

Theme name (as the base name of theme subdirectory).

searchIconDirs Range

Base icon directories to search icon themes.

Return Value

Type: auto

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

icontheme.paths.baseIconDirs, findIconTheme

Meta