powerline-taskwarrior
Basically all of my work time, both paid and volunteer, is organised by my taskwarrior database.
Sometimes it can be hard to keep focus, and in times where you find yourself forgetting what you were doing, a handy reminder can get you back on track quickly.
If you’re a powerline user then here’s something to keep you on track:
apt install python-powerline-taskwarrior python3-powerline-taskwarrior
You can configure powerline to then show you your context, active task or next task with:
[
{
"function": "powerline_taskwarrior.context",
"priority": 70
},
{
"function": "powerline_taskwarrior.active_task",
"priority": 70
},
{
"function": "powerline_taskwarrior.next_task",
"priority": 70
}
]
I’ve got the context on the left, and the active task on the right. Still playing with this to see where the optimal placement is for my workflow.

powerline-taskwarrior in action
Note: You do need to configure some colors otherwise the segments will not work. The required colors are:
{
"taskwarrior:context": "information:regular",
"taskwarrior:active_id": { "bg": "mediumgreen", "fg": "black", "attrs": [] },
"taskwarrior:active_desc": { "bg": "green", "fg": "black", "attrs": [] },
"taskwarrior:next_id": { "bg": "brightyellow", "fg": "black", "attrs": [] },
"taskwarrior:next_desc": { "bg": "yellow", "fg": "black", "attrs": [] }
}
If you would like to contact me with comments, please send me an email.
If you would like to support my free software work, you can support me on Patreon or donate via PayPal.
This post was syndicated on: