1 Jan 2011 19:04
Re: [dmenu] Patch for XDG Base Directory specification of dmenu_path
Bjartur Thorlacius <svartman95 <at> gmail.com>
2011-01-01 18:04:45 GMT
2011-01-01 18:04:45 GMT
On 12/30/10, Anselm R Garbe <garbeam <at> gmail.com> wrote: > On 30 December 2010 20:47, Jon Raphaelson <jonraphaelson <at> 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.
RSS Feed