X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/96c0fdf934acafa5ed0f831f48cb6f81e9829116..012c375159f41653c763aefe6f6225645a1fe52e:/task/taskrc diff --git a/task/taskrc b/task/taskrc index 917b437..73d2555 100644 --- a/task/taskrc +++ b/task/taskrc @@ -20,9 +20,150 @@ include /usr/share/doc/task/rc/solarized-dark-256.theme # Dates weekstart=monday +# Behaviour +confirmation = no # do not ask when deleting tasks +search.case.sensitive = no + +# Terminal +reserved.lines=2 # reserve two lines for prompt + +# Don't show history in info report +journal.info = no + +report.in.description = Inbox +report.in.columns = id,start.age,entry.age,depends,priority,project,tags,recur,description +report.in.filter = ( status:waiting or status:pending ) limit:page (+in) +report.in.sort = entry+ + +report.today.description = Tasks for today +report.today.columns = id,start.age,priority,project,tags,scheduled.relative,due.relative,until.remaining,description,urgency +report.today.filter = +READY (+ACTIVE or due.by:eod or scheduled.by:eod or +next) limit:page +report.today.sort = urgency- +report.today.context = yes + +report.motd.description = MOTD report (shown when opening a terminal) +report.motd.columns = id,project,scheduled.remaining,due.relative,until.remaining,description.truncated_count +report.motd.filter = status:pending (-maybe -BLOCKED) (+ACTIVE or due.by:eod or scheduled.by:eod or +next) limit:page +report.motd.sort = urgency- +report.motd.context = yes + +report.closed.description = Completed and deleted tasks +report.closed.columns = id,uuid.short,entry,end,status,entry.age,depends,priority,project,tags,recur.indicator,due,description +report.closed.filter = ( status:completed or status:deleted ) limit:page +report.closed.sort = end- +report.closed.context = yes + +# Urgency +urgency.uda.priority.L.coefficient=-2 # setting priority to low reduces urgency + +urgency.user.tag.in.coefficient = -1 +urgency.scheduled.coefficient = 8 + +# UDAs +uda.work.type = string +uda.work.label = Work +uda.work.values = ,yes,wfh,bristol,cambridge + +# inherit highest urgency from blocked tasks +# TODO: this doesn't quite work, check source code for explanation +# I'd like the blocking task to use the highest blocked task as a base urgency, +# then add on top a blocking coefficient +urgency.inherit = yes +urgency.blocked.coefficient = 0.0 +urgency.blocking.coefficient = 4.0 + +# Custom recurrence +recurrence=no +report.recurring.labels = ID,Active,Age,D,P,Parent,Project,Tags,Recur,RType,RSch,RWait,Due,Until,Description,Urg +report.recurring.columns = id,start.age,entry.age,depends.indicator,priority,parent.short,project,tags,recur,rtype,rscheduled,rwait,due,until.remaining,description,urgency +report.recurring.filter = status:recurring +# NOTE: my patched version of task already provides this as a rw property +#uda.rtype.label=Recur.Type +#uda.rtype.type=string +#uda.rtype.values=chained,periodic +uda.r.label=R +uda.r.type=duration +uda.rskip.label=rskip +uda.rskip.type=string +uda.rskip.values = no,yes +uda.rparent.label=Parent +uda.rparent.type=uuid +uda.rlastinstance.label=Last child +uda.rlastinstance.type=uuid +# TODO: Remove the UDAs once they are no longer in use +uda.rscheduled.type=date +uda.rnext_due.label=Due (next) +uda.rnext_due.type=date +uda.rnext_scheduled.label=Scheduled (next) +uda.rnext_scheduled.type=date +uda.rnext_wait.type=Wait (next) +uda.rnext_wait.type=date +uda.rnext_until.type=Until (next) +uda.rnext_until.type=date +uda.runtil.label=Until (instance) +uda.runtil.type=date + +# Bugwarrior UDAs +uda.gitlabtitle.type=string +uda.gitlabtitle.label=Title +uda.gitlabdescription.type=string +uda.gitlabdescription.label=Description +uda.gitlabcreatedon.type=date +uda.gitlabcreatedon.label=Created +uda.gitlabupdatedat.type=date +uda.gitlabupdatedat.label=Updated +uda.gitlabduedate.type=date +uda.gitlabduedate.label=Due Date +uda.gitlabmilestone.type=string +uda.gitlabmilestone.label=Milestone +uda.gitlaburl.type=string +uda.gitlaburl.label=URL +uda.gitlabrepo.type=string +uda.gitlabrepo.label=Repo Slug +uda.gitlabtype.type=string +uda.gitlabtype.label=Type +uda.gitlabnumber.type=string +uda.gitlabnumber.label=Issue/MR # +uda.gitlabstate.type=string +uda.gitlabstate.label=Issue/MR State +uda.gitlabupvotes.type=numeric +uda.gitlabupvotes.label=Upvotes +uda.gitlabdownvotes.type=numeric +uda.gitlabdownvotes.label=Downvotes +uda.gitlabwip.type=numeric +uda.gitlabwip.label=MR Work-In-Progress Flag +uda.gitlabauthor.type=string +uda.gitlabauthor.label=Author +uda.gitlabassignee.type=string +uda.gitlabassignee.label=Assignee +uda.gitlabnamespace.type=string +uda.gitlabnamespace.label=Namespace +uda.gitlabweight.type=numeric +uda.gitlabweight.label=Weight +# END Bugwarrior UDAs + # taskd taskd.certificate=$XDG_DATA_HOME/task/hactar.cert.pem taskd.key=$XDG_DATA_HOME/task/hactar.key.pem taskd.ca=$XDG_DATA_HOME/task/ca.cert.pem taskd.credentials=rmz/ramsi/30ffb102-3b0e-4b60-ad7e-df63b8920262 taskd.server=rmz.io:53589 + +# Context +## Combination of work and home related chores/habits +context.wfh.read = (work:yes or work:wfh or +habit or +chore or +gitlab) +context.wfh.write = work:yes + +## Work only for planning (maybe not needed?) +context.work.read = work.any: +context.work.write = work:yes + +## Home, no work +context.home.read = (work.none: and -gitlab) + +## Outside, meant to be for checking on phone for other things I should do while out +context.outside.read=+outside + +# NOTE: a context setting may be updated/added automatically on the last line +news.version=3.3.1 +context=home