]> git.rmz.io Git - dotfiles.git/blobdiff - task/taskrc
task: add custom recurrence stuff (wip)
[dotfiles.git] / task / taskrc
index 1bd4b763c8657a5c78a9b5feb57f7d6a7b503bf9..89610b7ece7cb4d4d73a1705aff793665fe7cdfe 100644 (file)
@@ -27,6 +27,9 @@ 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)
@@ -53,7 +56,8 @@ report.closed.context     = yes
 # Urgency
 urgency.uda.priority.L.coefficient=-2  # setting priority to low reduces urgency
 
-urgency.user.tag.in.coefficient=-1
+urgency.user.tag.in.coefficient = -1
+urgency.scheduled.coefficient   = 8
 
 # inherit highest urgency from blocked tasks
 # TODO: this doesn't quite work, check source code for explanation
@@ -63,6 +67,28 @@ 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=TwRecurrence
+uda.r.type=string
+uda.rparent.label=Parent task
+uda.rparent.type=string
+uda.rwait.label=Wait (instance)
+uda.rwait.type=date
+uda.runtil.label=Until WIP (instance)
+uda.runtil.type=date
+uda.rscheduled.label=Scheduled (instance)
+uda.rscheduled.type=date
+uda.rlastinstance.label=Last child task
+uda.rlastinstance.type=string
+
 # taskd
 taskd.certificate=$XDG_DATA_HOME/task/hactar.cert.pem
 taskd.key=$XDG_DATA_HOME/task/hactar.key.pem
@@ -76,5 +102,5 @@ context.wfh.write=+work
 context.home.read=-work
 
 # NOTE: a context setting may be updated/added automatically on the last line
-news.version=2.6.0
+news.version=3.0.2
 context=home