From d78192fdd32c9deb8e506ae6a63590b0f021e3aa Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Tue, 26 Mar 2024 00:34:12 +0000 Subject: [PATCH] task: configure urgency modifiers --- task/taskrc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/task/taskrc b/task/taskrc index 03b8755..1bd4b76 100644 --- a/task/taskrc +++ b/task/taskrc @@ -50,6 +50,19 @@ 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 + +# 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 -- 2.48.1