diff options
| author | Christopher R. Nelson <christopher.nelson@languidnights.com> | 2026-07-20 22:56:01 -0400 |
|---|---|---|
| committer | Christopher R. Nelson <christopher.nelson@languidnights.com> | 2026-07-20 22:56:01 -0400 |
| commit | 7db20cd2ac2c8b8774a8ae02a7b233541666c865 (patch) | |
| tree | 38f97001dc6c486e5a7a254b071b23f1d6bce51a /README.md | |
| parent | 13491ac0c68e24e6aeb5d47e8b89777979ad6320 (diff) | |
Add XDG applications directory scanner
Resolves the ordered list of "applications" directories to search per
the XDG Base Directory Specification: XDG_DATA_HOME (default
~/.local/share) first, then XDG_DATA_DIRS (default /usr/local/share,
/usr/share). Each variable falls back to its default independently
when unset or empty, so a Flatpak-style XDG_DATA_DIRS override is
honored in place of the default rather than merged with it.
find_desktop_files/0,1 recursively collects .desktop files from those
dirs, skipping ones that don't exist.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions
