Commit graph

5 commits

Author SHA1 Message Date
dbcc18cc56
task: Ensure necessary files exist on start
There are some includes in taskwarrior which make the program error out
if they don't exist on start. This little hook ensures that they get
created each time a new environment is created.
2022-12-08 13:43:44 +01:00
6d1934fccd
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`.
2021-11-23 09:52:41 +01:00
86dc69c31f
taskwarrior: Adapt tw config file for 2.6 update
Modified some options per the taskwarrior recommendations, switched from
custom XDG compliance to default implementation newly added to program.
2021-10-07 11:17:18 +02:00
f08c8ebefd
taskwarrior: Fix taskopen note directory location
Fixed error in configuration file location for taskopen alias which put
the config file instead of the notes directory.
Now configuration file correctly resides in
$XDG_CONFIG_HOME/task/taskopenrc and notes dir is
$XDG_DATA_HOME/task/notes.

Notes can now correctly be created by doing `task <id> annotate Note`.
2021-08-24 23:09:11 +02:00
ed881273b8
taskwarrior: Move xdg env variable to module 2021-02-19 16:54:39 +01:00