xdg::icon_theme: Add stub

This commit is contained in:
Sasha Koshka 2024-10-22 18:52:22 -04:00
parent b95829bd05
commit 5d061e74ea

10
xdg/icon_theme/dirs.ha Normal file
View File

@ -0,0 +1,10 @@
// 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
};