(use-package ncla :straight '(NCLA :host github :repo "LinasVidziunas/NCLA")) (straight-use-package '(NCLA :type git :host github :repo "LinasVidziunas/NCLA")) Includes a list of all *.desktop files with full paths. Will hopefully be changed out for xdg later on.
Definition
(defvar ncla-desktop-file-paths (directory-files "/usr/share/applications/" t (regexp-quote ".desktop")) "Contains all *.desktop files") If set to a non-nil value, applicataions with Terminal=true in their .desktop file will be included.
Definintion
(defvar ncla-include-terminal-applications nil "If non-nil value, Terminal=true applications will be included in the list") Time it takes before all desktop.el files need to be parsed when running NCLA.
Definition
(defvar ncla-cache-timeout 5 "Time in seconds for the cache timeout")