Crate xcursor

source ยท
Expand description

A crate to load cursor themes, and parse XCursor files.

Modulesยง

  • A module implementing XCursor file parsing.

Structsยง

Functionsยง

  • parse_theme ๐Ÿ”’
    Parse the content of the index.theme and return the Inherits value.
  • theme_inherits ๐Ÿ”’
    Load the specified index.theme file, and returns a Some with the value of the Inherits key in it. Returns None if the file cannot be read for any reason, if the file cannot be parsed, or if the Inherits 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.