taskwarrior: Make timewarrior more XDG compliant

Timewarrior now looks for its data directory in `XDG_CONFIG_HOME`
instead of the home directory. This is a little better than nothing, but
does not separate the configuration and data files from each other yet.

Data *should* be lying in `XDG_DATA_HOME` but the data directory can not
be separated since it relies on a single env var `TIMEWARRIORDB`.
This commit is contained in:
Marty Oehme 2021-11-23 09:52:41 +01:00
parent dcea74008b
commit 6d1934fccd
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
export TIMEWARRIORDB="$XDG_CONFIG_HOME/timewarrior"