pub fn installed_apps() -> HashMap<Rc<str>, ApplicationEntry>Expand description
Returns a map of all applications available to the current user
Reads all desktop entry files in $XDG_DATA_DIRS and $HOME/.local/share/applications
and returns a map of the applications found.
The result is cached per-thread and invalidated lazily through inotify: each call
drains pending events on the watched applications/ directories and only re-scans
when a .desktop file was created, deleted, modified, or moved. The first call
from a given thread does the initial scan and sets up the watches.