]> git.rmz.io Git - dotfiles.git/commitdiff
task: add custom reports
authorSamir Benmendil <me@rmz.io>
Tue, 26 Mar 2024 00:31:13 +0000 (00:31 +0000)
committerSamir Benmendil <me@rmz.io>
Tue, 26 Mar 2024 00:47:58 +0000 (00:47 +0000)
task/taskrc

index aa601a5f91ef73e541b2d594a1cde5caa8c7675a..03b875538890ac9b26f0e1f0dd6a2934b722086c 100644 (file)
@@ -27,6 +27,29 @@ search.case.sensitive = no
 # 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+
+
+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
+
 # taskd
 taskd.certificate=$XDG_DATA_HOME/task/hactar.cert.pem
 taskd.key=$XDG_DATA_HOME/task/hactar.key.pem