dotfiles/taskwarrior/.config/task/taskrc
Marty Oehme e2b82b56f9
taskwarrior: Add contexts, Fix completions
Fixed the completions for the `t` alias that takes over task
functionality on the shell. Only works on zsh, and presumably not on
every system since it relies on some ps trickery to find out the
currently running shell. Maybe there's a better version out there
somewhere...

Added basic distinction into work/personal contexts, since, with my
current job having a complex enough task list I want that either not
cluttering up my enjoyable tasks, or *only* that cluttering up all my
tasks.
2021-03-27 22:15:45 +01:00

96 lines
3.9 KiB
Text

# Taskwarrior program configuration file.
# For more documentation, see http://taskwarrior.org or try 'man task', 'man task-color',
# 'man task-sync' or 'man taskrc'
# Here is an example of entries that use the default, override and blank values
# variable=foo -- By specifying a value, this overrides the default
# variable= -- By specifying no value, this means no default
# #variable=foo -- By commenting out the line, or deleting it, this uses the default
# Use the command 'task show' to see all defaults and overrides
# Files
data.location=~/.local/share/task
# disable case sensitivity
search.case.sensitive=no
# change verbosity to hide header (i.e. TASKRC override notification)
verbose=blank,footnote,label,new-id,affected,edit,special,project,sync,unwait,override,recur
# german-style week start
weekstart=monday
# Make daily burndown default alias
alias.burndown=burndown.daily
# Sort the columns a little differently
active.indicator=>
# customize list report: focus on due dates
report.list.columns=start.active,id,project,priority,due,description,tags,entry.age
report.list.labels=,,Project,Pri,Due,Description,Tags,Age
# customize next report: focus on urgencies
report.next.columns=id,project,priority,urgency,due,description,tags,scheduled,entry.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
report.overdue.filter=(status:pending or status:waiting) and +OVERDUE and -TODAY
# custom today report, sorted by urgency
report.today.description=Tasks scheduled for today, sorted by urgency
report.today.filter=status:pending +TODAY limit:page
report.today.sort=urgency-
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
# reorder priorities so that explicitly tagged 'Low' items are lower than normal
uda.priority.values=H,M,,L
urgency.uda.priority.L.coefficient=0
urgency.uda.priority..coefficient=1.8
# Just because its tagged/annotated doesn't mean its important
urgency.tags.coefficient=0
urgency.annotations.coefficient=0
# maybe items are not urgent at all
urgency.user.tag.maybe.coefficient=-100.0
# temporary taskd configuration for freecinc (should be selfhosted at some point)
taskd.server=freecinc.com:53589
taskd.key=~/.local/share/task/keys/freecinc_7ebc40a3.key.pem
taskd.certificate=~/.local/share/task/keys/freecinc_7ebc40a3.cert.pem
taskd.ca=~/.local/share/task/keys/freecinc_7ebc40a3.ca.pem
taskd.credentials=FreeCinc\/freecinc_7ebc40a3\/1b2f5c1e-3d62-4a35-82c8-82ce0e23731e
# Color theme (uncomment one to use)
#include /usr/share/doc/task/rc/light-16.theme
#include /usr/share/doc/task/rc/light-256.theme
#include /usr/share/doc/task/rc/dark-16.theme
#include /usr/share/doc/task/rc/dark-256.theme
#include /usr/share/doc/task/rc/dark-red-256.theme
#include /usr/share/doc/task/rc/dark-green-256.theme
#include /usr/share/doc/task/rc/dark-blue-256.theme
#include /usr/share/doc/task/rc/dark-violets-256.theme
#include /usr/share/doc/task/rc/dark-yellow-green.theme
#include /usr/share/doc/task/rc/dark-gray-256.theme
#include /usr/share/doc/task/rc/dark-gray-blue-256.theme
#include /usr/share/doc/task/rc/solarized-dark-256.theme
#include /usr/share/doc/task/rc/solarized-light-256.theme
#include /usr/share/doc/task/rc/no-color.theme
# try to fix some color weirdness, especially in tmux
color.scheduled=on grey
# only ever show one result in the tasksh
tasksh.autoclear=1
# for tasksh review sessions
uda.reviewed.type=date
uda.reviewed.label=Reviewed
report._reviewed.description=Tasksh review report. Adjust the filter to your needs.
report._reviewed.columns=uuid
report._reviewed.sort=reviewed+,modified+
report._reviewed.filter=( reviewed.none: or reviewed.before:now-6days ) and ( +PENDING or +WAITING )
# different life contexts
context.personal= project.hasnt:arbeit
context.arbeit= project:arbeit
context=personal