hare-xdg/xdg/icon_theme/dirs.ha

11 lines
484 B
Hare
Raw Permalink Normal View History

2024-10-22 16:52:22 -06:00
// Returns the set of directories in which themes should be looked for in order
// of preference. It will return $HOME/.icons (for backwards compatibility),
// $XDG_DATA_DIRS/icons, and /usr/share/pixmaps. Applications may further add
// their own icon directories to this list.
//
// This memory is statically allocated and must not be free'd. It may be
// overwritten later, so use [[strings::dupall]] to extend its lifetime.
export fn theme_dirs() ([]str | error) = {
// TODO
};