2

I am using taskwarrior together with conky and to make the format look nicer, I want to modify, what information is actually given by taskwarrior. In particular, I do not want it to display the "Age" column of a task. Right now it looks like this:

ID Age   Due Description        Urg 
 1 33min 1d  Do Stuff           8.33

but I want it to look more like this:

ID Due Description        Urg 
 1 1d  Do Stuff           8.33

Is there an easy way of doing this? Thanks in advance!

2 Answers2

2

Add the following lines to the file ~/.taskrc:

report.report1.description=Report without age attribute
report.report1.columns=id,due,description,urgency

Then you can run task report1 to view the report.

Tom Dörr
  • 859
  • 10
  • 22
  • Thanks, this works! One line I also added looks like: `report.report1.filter=status:pending -ACTIVE -WAITING -BLOCKED -OVERDUE` Otherwise also already done tasks will be reported as well. – Metagross31 Mar 08 '21 at 08:23
2

I prefer to edit the default reports. With this command:

task show report

You will get the configuration of all the reports. The default report of task command is report.next, so you can put this in your .taskrc without entry.age:

report.next.columns=id,start.age,depends,priority,project,tags,recur,scheduled.countdown,due.relative,until.remaining,description,urgency
report.next.labels=ID,Active,Deps,P,Project,Tag,Recur,S,Due,Until,Description,Urg

Now the task command will show the next report without the Age.

Jeremy Caney
  • 7,102
  • 69
  • 48
  • 77
gimiki
  • 83
  • 8