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.
This commit is contained in:
Marty Oehme 2021-10-07 11:17:18 +02:00
parent 3a5a6d19b4
commit 86dc69c31f
Signed by: Marty
GPG key ID: B7538B8F50A1C800
2 changed files with 6 additions and 7 deletions

View file

@ -1,5 +1,3 @@
#!/usr/bin/env sh #!/usr/bin/env sh
export TASKRC="$XDG_CONFIG_HOME/task/taskrc"
[ -d "$XDG_DATA_HOME/task/notes" ] || mkdir -p "$XDG_DATA_HOME/task/notes" [ -d "$XDG_DATA_HOME/task/notes" ] || mkdir -p "$XDG_DATA_HOME/task/notes"

View file

@ -10,7 +10,7 @@
# Use the command 'task show' to see all defaults and overrides # Use the command 'task show' to see all defaults and overrides
# Files # Files
data.location=~/.local/share/task data.location=$XDG_DATA_HOME/task/
# disable case sensitivity # disable case sensitivity
search.case.sensitive=no search.case.sensitive=no
@ -35,10 +35,10 @@ report.next.columns=id,project,priority,urgency,due,description,tags,scheduled,e
report.next.labels=,Project,Pri,Urg,Due,Description,Tags,Sched,Age,Recur report.next.labels=,Project,Pri,Urg,Due,Description,Tags,Sched,Age,Recur
# customize overdue report: hide tasks which are due today, but scheduled for 00:00:00 # customize overdue report: hide tasks which are due today, but scheduled for 00:00:00
report.overdue.filter=(status:pending or status:waiting) and +OVERDUE and -TODAY report.overdue.filter=(status:pending or +WAITING) and +OVERDUE and -TODAY
# custom today report, sorted by urgency # custom today report, sorted by urgency
report.today.description=Tasks scheduled for today, sorted by urgency report.today.description=Tasks scheduled for today, sorted by urgency
report.today.filter=status:pending +TODAY limit:page report.today.filter=status:pending -WAITING +TODAY limit:page
report.today.sort=urgency- report.today.sort=urgency-
report.today.columns=id,project,priority,urgency,due,description,tags,scheduled,entry.age,recur report.today.columns=id,project,priority,urgency,due,description,tags,scheduled,entry.age,recur
report.today.labels=,Project,Pri,Urg,Due,Description,Tags,Sched,Age,Recur report.today.labels=,Project,Pri,Urg,Due,Description,Tags,Sched,Age,Recur
@ -96,5 +96,6 @@ report._reviewed.sort=reviewed+,modified+
report._reviewed.filter=( reviewed.none: or reviewed.before:now-6days ) and ( +PENDING or +WAITING ) report._reviewed.filter=( reviewed.none: or reviewed.before:now-6days ) and ( +PENDING or +WAITING )
# different life contexts # different life contexts
context.personal= project.hasnt:arbeit context.arbeit.read=project:arbeit
context.arbeit= project:arbeit context.arbeit.write=project:arbeit
context.personal.read=project.hasnt:arbeit