On Wed, 24 Oct 2018 at 09:06, Daniel Vetter <[email protected]> wrote: > > On Tue, Oct 23, 2018 at 04:33:09PM +0100, Emil Velikov wrote: > > From: Emil Velikov <[email protected]> > > > > Currently we check for $DIM_CONFIG, falling back to $HOME/.dimrc. > > > > Instead of always setting DIM_CONFIG, add support for XDG_CONFIG_HOME > > aka ~/.config. > > > > Now we get $DIM_CONFIG > $XDG_CONFIG_HOME/dim/config > $HOME/.dimrc > > > > Ideally in the future we'll: > > a) warn and kill off the last one > > b) print an warning message each time DIM_CONFIG is set > > c) error out if XDG_CONFIG_HOME is not set ... > > or fallback to ~/.config ourselves > > > > Reason being, managing dotfiles with XDG is an order of magnitude > > easier and DIM_CONFIG should only be set as a temporary workaround. > > > > TODO: better sales pitch, update docs > > > > Signed-off-by: Emil Velikov <[email protected]> > > --- > > As the WIP/TODO suggests, this is not the final version of the patch. > > Sending it out to get some feedback on the idea and a/b/c thinking. > > I think this makes sense. Instead of warning I think we could just ship a > dim version for a few weeks that automatically moves the old ~/.dimrc to > the new XDG approved location.
Ack, makes sense. Will follow-up in a few days, since I'd like to double-check/update all of dim. Currently it stores a number of files in $HOME. Thanks Emil _______________________________________________ dim-tools mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dim-tools
