Yes, I feel strongly that if dmenu_path used to keep its file in a standard
place (XDG_CACHE_HOME or as a dot in HOME), then the history should be
placed in the same location. It's just clean, uniform design.
I also realized that all the functionality of dmenu_run with history can
be kept inside one single file, removing the dependency on dmenu_path.
Basically merging dmenu_run and dmenu_path together with the history
stuff into one self-contained shell script: dmenu_run_history.
And the instructions on the wiki should simply say:
dmenu_run_history, a self-contained alternative to dmenu_run which
also handles history.
History is saved in a file in XDG_CACHE_HOME, with fallback to a dot
file in $HOME. Change as necessary.
In addition to the above, dmenu_run_history will launch each entry
immediately on Ctrl-Return (multiselect).
Received on Sat Dec 12 2015 - 15:36:05 CET