taskwarrior icon indicating copy to clipboard operation
taskwarrior copied to clipboard

How to colorize tasks per project?

Open pythops opened this issue 3 years ago • 4 comments

When I run task list I want to show the tasks that belong to the same project having the same color

Thanks

Task version: task 2.6.1 built for Linux

pythops avatar Jan 17 '22 02:01 pythops

Hi @pythops,

the following configuration setting should help you achieve your goal:

   color.project.X=on green
          Colors any task assigned to project X.

Check COLOR CONTROLS section in the man page for more info :slightly_smiling_face:

tbabej avatar Jan 17 '22 06:01 tbabej

Is it possible to let taskwarrior automatically assign a color to each project I add without editing the configuration file ?

pythops avatar Jan 17 '22 06:01 pythops

That is unfortunately not possible currently. But it is an interesting feature suggestion!

tbabej avatar Jan 20 '22 01:01 tbabej

Would be great to add it :) Thanks

pythops avatar Jan 20 '22 04:01 pythops