From 5d061e74ea3aeee79c6d4abedf927beb9d2e6d9f Mon Sep 17 00:00:00 2001 From: "sashakoshka@tebibyte.media" Date: Tue, 22 Oct 2024 18:52:22 -0400 Subject: [PATCH] xdg::icon_theme: Add stub --- xdg/icon_theme/dirs.ha | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 xdg/icon_theme/dirs.ha diff --git a/xdg/icon_theme/dirs.ha b/xdg/icon_theme/dirs.ha new file mode 100644 index 0000000..c9b9478 --- /dev/null +++ b/xdg/icon_theme/dirs.ha @@ -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 +};