Expand description
A crate to load cursor themes, and parse XCursor files.
Modulesยง
- A module implementing XCursor file parsing.
Structsยง
- A cursor theme.
- CursorThemeIml ๐
Functionsยง
- parse_theme ๐Parse the content of the
index.theme
and return theInherits
value. - theme_inherits ๐Load the specified index.theme file, and returns a
Some
with the value of theInherits
key in it. ReturnsNone
if the file cannot be read for any reason, if the file cannot be parsed, or if theInherits
key is omitted. - theme_search_paths ๐Get the list of paths where the themes have to be searched, according to the XDG Icon Theme specification, respecting
XCURSOR_PATH
env variable, in case it was set.