]> git.rmz.io Git - dotfiles.git/blobdiff - task/taskrc
zsh: add function for getting task parent id
[dotfiles.git] / task / taskrc
index 03b875538890ac9b26f0e1f0dd6a2934b722086c..fab62574148189ff6d9f89afa6c2c9700c228f44 100644 (file)
@@ -50,6 +50,20 @@ report.closed.filter      = ( status:completed or status:deleted ) limit:page
 report.closed.sort        = end-
 report.closed.context     = yes
 
 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
+
+# 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
+
 # taskd
 taskd.certificate=$XDG_DATA_HOME/task/hactar.cert.pem
 taskd.key=$XDG_DATA_HOME/task/hactar.key.pem
 # taskd
 taskd.certificate=$XDG_DATA_HOME/task/hactar.cert.pem
 taskd.key=$XDG_DATA_HOME/task/hactar.key.pem