Expand description
A crate to load cursor themes, and parse XCursor files.
Modulesยง
- parser
- A module implementing XCursor file parsing.
Structsยง
- Cursor
Theme - A cursor theme.
- Cursor
Theme ๐Iml - Search
Paths ๐Environment
Functionsยง
- expand_
home_ ๐dir - If the first component of the path is
~
, replaces it with the home dir. If no home dir is present, returnsNone
. - 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. If
XCURSOR_PATH
is set, it will override the default search paths.