Re: [dev] [dmenu] Patch for XDG Base Directory specification of dmenu_path

From: Anselm R Garbe <anselm_AT_garbe.us>
Date: Sat, 1 Jan 2011 18:16:20 +0000

On Sat, Jan 01, 2011 at 06:04:45PM +0000, Bjartur Thorlacius wrote:
> 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.

Or /tmp as it was in the earlier days.

-Anselm
Received on Sat Jan 01 2011 - 19:16:20 CET

This archive was generated by hypermail 2.2.0 : Sat Jan 01 2011 - 19:24:02 CET