.desktop parsing, installed app list, and launch helpers.
Icon lookup
- Preferred themes (Papirus, Breeze, Adwaita, hicolor, etc.) with SVG preferred over PNG
- Remaining themes on disk
- Pixmaps directories
.desktopIcon=fallback (exact filename, then directory scan for AppImages)
/usr/share/icons, and Flatpak export trees.
Use findIconInTheme when a caller needs one named runtime theme or an absolute theme directory. It prefers SVG and leaves ownership of the returned path with the caller. Ordinary app icon lookup keeps the normal desktop theme order.
Desktop entries
Name and Comment resolution follows XDG rules.
Application list
AppDirWatcher uses otter-utils inotify on XDG applications directories.
Launcher
%f, %u, %i exec fields. Terminal=true entries spawn through detected terminal ($TERMINAL, then foot, otter-term, kitty, etc.).
