On Sat, Jan 01, 2011 at 06:04:45PM +0000, Bjartur Thorlacius wrote: > On 12/30/10, Anselm R Garbe <garb...@gmail.com> wrote: > > On 30 December 2010 20:47, Jon Raphaelson <jonraphael...@gmail.com> wrote: > >> Attached is a patch to dmenu_path which (if enabled in the config.mk) > >> changes the cache file location to be XDG Base Directory Specification > >> compliant. After enabling the change, the cache file will live at > >> $XDG_CACHE_HOME/dmenu/path.cache (or $HOME/.cache/dmenu/path.cache if > >> $XDG_CACHE_HOME is not set), rather than in the home directory at > >> ~/.dmenu_cache. > >> This patch relies on libxdg-basedir [2] being installed. > > > > I think using some pseudo-directory standard and library to retrieve > > the location of a cache file is quite odd. > > > I think storing cache files under $HOME is even odder. $HOME is quite > often accessed over a network. Storing it under /var seems saner.
Or /tmp as it was in the earlier days. -Anselm