Function writableIconsPath

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

string writableIconsPath() nothrow @safe;

This function is Freedesktop only.

Note

it does not check if returned path exists and appears to be directory.

Example

auto dataHomeGuard = EnvGuard("XDG_DATA_HOME", "/home/user/data");
assert(writableIconsPath() == "/home/user/data/icons");