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:
parent
dcea74008b
commit
6d1934fccd
1 changed files with 3 additions and 0 deletions
3
taskwarrior/.config/sh/env.d/timewarrior-xdg.sh
Normal file
3
taskwarrior/.config/sh/env.d/timewarrior-xdg.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
export TIMEWARRIORDB="$XDG_CONFIG_HOME/timewarrior"
|
Loading…
Reference in a new issue