icontheme.paths

Getting paths where icon themes and icons are stored.

Members

Enums

IconThemeNameDetector
enum IconThemeNameDetector

Functions

baseIconDirs
string[] baseIconDirs(Range dataPaths)

The list of icon theme directories based on data paths.

baseIconDirs
string[] baseIconDirs()

The list of base directories where icon thems should be looked for as described in Icon Theme Specification.

currentIconThemeName
string currentIconThemeName(IconThemeNameDetector detector)

Try to detect the current icon name configured by user.

writableIconsPath
string writableIconsPath()

Writable base icon path. Depends on XDG_DATA_HOME, so this is $HOME/.local/share/icons rather than $HOME/.icons

Structs

EnvGuard
struct EnvGuard
Undocumented in source.

See Also

Meta