X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/869ecc0bfdf8ef3137e151e4275eca402a63750d..b0b9a0fea4e51381788121e5af7952813a93c97b:/task/taskrc diff --git a/task/taskrc b/task/taskrc index a24efe4..1bd4b76 100644 --- a/task/taskrc +++ b/task/taskrc @@ -14,37 +14,67 @@ data.location=$XDG_DATA_HOME/task hooks.location=$XDG_CONFIG_HOME/task/hooks -dateformat=d/m/Y +# Color theme +include /usr/share/doc/task/rc/solarized-dark-256.theme +# Dates +weekstart=monday -# 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 +# Behaviour +confirmation = no # do not ask when deleting tasks +search.case.sensitive = no -default.command=long +# Terminal +reserved.lines=2 # reserve two lines for prompt +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+ -dateformat.annotation=d/m/Y -dateformat.edit=d/m/Y H:N:S -dateformat.info=d/m/Y H:N:S -dateformat.report=d/m/Y -weekstart=monday -taskd.certificate=~/.local/share/task/client.cert.pem -taskd.key=~/.local/share/task/client.key.pem -taskd.ca=~/.local/share/task/ca.cert.pem -taskd.server=rmz.io:32427 -taskd.credentials=rmz.io/ramsi/34f57726-7ab8-47e5-92e6-eeb4ff01eef6 -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 ) +report.today.description = Tasks for today +report.today.columns = id,start.age,priority,project,tags,scheduled.remaining,due.relative,until.remaining,description,urgency +report.today.filter = status:pending (-maybe -BLOCKED) (+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 + +# 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.ca=$XDG_DATA_HOME/task/ca.cert.pem +taskd.credentials=rmz/ramsi/30ffb102-3b0e-4b60-ad7e-df63b8920262 +taskd.server=rmz.io:53589 + +# Context +context.wfh.read=( project:work or +work or project:chores or +habit or +chore) +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 +context=home