Re: [hackers] [dmenu][RFC][PATCH] History functionality

From: Xarchus <xarchus_AT_comcast.net>
Date: Sat, 12 Dec 2015 06:36:05 -0800

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

This archive was generated by hypermail 2.3.0 : Sat Dec 12 2015 - 15:48:12 CET