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.themeand return theInheritsvalue. - theme_
inherits ๐ - Load the specified index.theme file, and returns a
Somewith the value of theInheritskey in it. ReturnsNoneif the file cannot be read for any reason, if the file cannot be parsed, or if theInheritskey 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_PATHis set, it will override the default search paths.