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

From: Bjartur Thorlacius <svartman95_AT_gmail.com>
Date: Sat, 1 Jan 2011 18:04:45 +0000

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.
Received on Sat Jan 01 2011 - 19:04:45 CET

This archive was generated by hypermail 2.2.0 : Sat Jan 01 2011 - 19:12:03 CET