Expand description
Base Dir
The most basic Basedir spec Linux Only
The best part is the wrapper around specifics such as icons, desktop directories, trash, etc..
Functions
- the /applications directories
- $XDG_CACHE_HOME
- $XDG_CONFIG_DIRS
- $XDG_CONFIG_HOME
- Convert ‘:’ list
Result<String, VarError>
into Vec - $XDG_DATA_DIRS
- $XDG_DATA_HOME
- Desktop directories, directories
- Desktop directories, directories vector
- $HOME
- Icon directories
- Vector of Icon directories
- loop xdg config dirs
- loop xdg data dirs
- The /menu directory
- the /menu/applications-merged directory
- Redundant $HOME-to-string-path code lives here
- Search the XDG data dirs vector for a
filename
in adirectory
- The session’s menu file, based on
${XDG_MENU_PREFIX}
- user TRASH DIRECTORY