launcher is a wrapper around dmenu. It's similar to dmenu_run but instead of binaries it selects from applications registered via *.desktop files from XDG-compatible locations. It is written in Crystal.
crystal build main.cr --no-debug --release -o launcher- dmenu with (optional) line-height patch.
- Remove the
-hflag from the call to dmenu if height customisation is not needed.
- Remove the
Assign window manager shortcut to run the launcher.
Desktop files are searched for in the following locations and order of precedence:
$HOME/.local/share- Paths listed in
XDG_DATA_DIRS.
If a desktop file exists in multiple locations with the same name then the display name will also contain the basename of the desktop file.
Each time an application is launched its count is incremented in $HOME/.config/launcher/stats.ini.
The most commonly run applications are placed first in the list of choices.
Each time an application is launched an entry is logged to $HOME/.config/launcher/log.txt.
Open an issue or send a pull request.