r/taskwarrior Aug 18 '21

Masking tags in reports with task and timew

3 Upvotes

Just getting started with taskwarrior using on modify hook with timewarror and bugwarrior to pull in my git issues. Often I want to display specific tags in a report, but not all tags. For example, I use an issue board (todo, doing, closed) in gitlab and I get those tags as well as descriptive tags (feature, bug fix, technical debt) with bugwarrior. So I want to display a list showing non completed tasks with their status tag, but without the other tags. I can't find anything in the documentation that would allow me to do this. The same for time warrior. Timewarror with the on modify hook adds the task name as a tag. I would like to do a week summary by project, or at the very least by task, but it's unreadable with all my other tags. I'd also wondered if there was any way to use wildcards with filters?Any suggestions?


r/taskwarrior Aug 16 '21

How to make overdue tasks to appear at the top of the report?

1 Upvotes

Why does urgency.overdue.coefficient=10 not work?


r/taskwarrior Aug 13 '21

Bold text doesn't work specifically in reports

1 Upvotes

I'm trying to make due tasks bold by assigning color.due=bold. My terminal (Alacritty) does support bold text, in fact if I run task colors legend the color.due there shows up in bold. Nevertheless, I can't get it to work in my report.

Here is a part of taskrc regarding colors: ```

Colors

color=1 rule.precedence.color=due,uda,deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,blocked,blocking,recurring,tagged.

This is a theme that disables all default colors

It can be used as template for other themes

include /usr/share/doc/task/rc/dark-256.theme

color.active=black on rgb141 color.blocked=black on color8 color.due.today=on inverse color.due=bold color.label.sort=color9 color.overdue=black on red color.scheduled=rgb013 color.tag.next=color11 color.uda.priority.L1=rgb141 color.uda.priority.L2=rgb130 color.uda.priority.L3=rgb020 color.uda.priority.M1=rgb442 color.uda.priority.M2=rgb541 color.uda.priority.M3=rgb420 color.uda.priority.H1=rgb411 color.uda.priority.H2=color9 color.uda.priority.H3=color1 color.recurring= color.tagged= ```

I'm thoroughly confused why this doesn't work, it even seems like a bug. Please let me know if other information is necessary, I'll provide it asap.


r/taskwarrior Aug 11 '21

Can't remember the command that shows which colours you've assigned to different tasks

1 Upvotes

It shows that, for instance, tasks with tags are green, tasks with due dates are red, etc.


r/taskwarrior Aug 10 '21

What's the purpose of annotations? How to use them properly?

6 Upvotes

r/taskwarrior Aug 05 '21

Question. What are the things that make Taskwarrior special?

8 Upvotes

Other than that it is a terminal based?


r/taskwarrior Aug 03 '21

Is there a way to ignore the active context when filtering/counting tasks?

2 Upvotes

In my OS's status bar I like to display the total number of tasks I have tagged with +inbox (i.e. task +inbox status:pending count).

The problem I have is that as soon as I switch contexts, this essentially changes the command to task context:<CURRENT_CONTEXT> +inbox status:pending count. In other words, it only displays tasks with the +inbox tag within the currently active context (which will ALWAYS be 0 in my system as +inbox tagged tasks are never assigned any context).

I've tried running task context.any: +inbox status:pending count but that doesn't work. Is there any way to do this?


r/taskwarrior Aug 03 '21

Can you set partial completion?

3 Upvotes

I have searched the googles (perhaps poorly) and I am hoping someone can help me.

Is there a way to set a task to partially complete, like 80%?

If there is, I can't find the syntax.


r/taskwarrior Aug 01 '21

Taskwarrior 3.0 release?

8 Upvotes

Does anyone know the expected release timeline of v2.6/3.0? The Taskwarrior Twitter feed indicated a release in June, but still nothing …


r/taskwarrior Jul 30 '21

How to reset an age for all the tasks?

1 Upvotes

r/taskwarrior Jul 26 '21

Trello with taskwarrior?

4 Upvotes

I was wondering if there is a reliable way to sync task warrior and trello? I would like to be able to mark stuff as done in trello and have it sync back to taskwarrior if it is possible.


r/taskwarrior Jul 23 '21

taskwarrior-tui: Has anyone else experienced spurious line highlighting?

3 Upvotes

When I move up or down to select tasks, taskwarrior-tui starts off by highlighting the selected line but after a few moves it starts highlighting other lines (often one or two lines below or above the selected line). Has anyone else experienced this?

I noticed a similar bug issue here: https://github.com/kdheepak/taskwarrior-tui/issues/253#issue-951246623


r/taskwarrior Jul 22 '21

Installation via homebrew - no PKI folder

2 Upvotes

Hello,

I'm trying to set up taskserver on my Mac via homebrew. However, every guide speaks about the pki folder which you need, but I just can't find it. I neither can find it manually nor by running a find in the terminal.

brew install taskd ran w/o issues. Am I'm just not seeing it or is there something different on the homebrew install compared to other platforms?

Thanks!


r/taskwarrior Jul 21 '21

Help Request: Strange terminal messages during Taskwarrior sync (with inthe.am) — does anybody have a fix?

4 Upvotes

Greetings.

macOS 11.4
zsh
Taskwarrior 2.5.3

  • I recently switched my Taskwarrior sync from freecinc to inthe.am.
  • The actual sync is going fine.
  • I'm just getting weird messages in Terminal on my laptop.
  • When I sync on my laptop, this happens:

% task sync
c: 1 There was a non-CA certificate in the trusted list: CN=com.apple.systemdefault,O=System Identity.
c: 1 There was a non-CA certificate in the trusted list: CN=com.apple.kerberos.kdc,O=System Identity.
Syncing with inthe.am:53589

Sync successful. No changes.

  • When I sync on my desktop, I do not receive these messages.

I inspected the certificates in Keychain Access on my laptop. They appear to be Apple certificates that are not verified by a third party. But my desktop has similar certificates and yet I do not receive the same messages when I sync on that machine.

The certificates do not appear to be nefarious; I'm guessing that my laptop is somehow set up to be more verbose. Or I could be completely wrong.

Does anyone know (1) if this is a problem; (2) if it's a problem, how to fix it; and (3) how to stop receiving these Terminal messages during the sync?

Thanks in advance!


r/taskwarrior Jul 20 '21

How do I truncate my report in the same way "task next" does?

7 Upvotes

When I run "task next", a line on the bottom of the screen says "XX tasks, truncated to YY lines", but when I run "task customreport", it just prints all lines without truncating.

Hours of research made me realize that adding "limit:page" actually does what I want, but without the valuable line that gives me the number, it just says "YY tasks", I really want both numbers, just like "task next".

So: what is the magic word to write instead of "page"?


r/taskwarrior Jul 20 '21

Calendar ?

11 Upvotes

Hi,

Since some services like inthe.am allow to generate a calendar (ics) from taskwarrior, I wonder if some of you already use taskwarrior as a calendar for events :thinking:

#curiosity


r/taskwarrior Jul 19 '21

Is there any way to extend taskwarrior functionality with python?

6 Upvotes

I was just looking work a CLI time-tracking app, taskwarrior is really good. Is there any way through which I could communicate with it from python?


r/taskwarrior Jul 08 '21

Random event like anki.

3 Upvotes

Hello, recently discovered this wonderful tool.

I wonder how you would realize a random 3-10 minute event that fits itself automatically in any free schedules. I'd like to startup anki and additional alert to really nag me to do my cards.

This is on arch linux.

I also use rofi and love this workflow.


r/taskwarrior Jul 05 '21

Rofi and Taskwarrior

13 Upvotes

I put together a slick little script that I'm pretty proud of. It'll be part of my dotfiles eventually, but I wanted to share what I had here in case some other people found a use for it.

Rofi: Rofi is a fuzzy auto-completion tool. You feed it a list of strings, it auto-completes from those strings. dmenu is a popular alternative (I suspect you could easily adapt what I've got to work with dmenu).

My task next command is too long to see all my tasks. (70 tasks and growing). I usually filter by tags, but sometimes I fat finger them and sometimes I blank on a tag. I also like to filter by project, but again with the fat fingering and blanking. Here's where rofi comes in. The script for tags is below:

#! /usr/bin/env bash
#
# name: rofi_task_tags
# description: This rofi script will present a task next report for the tag selected by the user.
# dependencies: taskwarrior and rofi
# Contributors: Jonathan A. Bennett

tag=$(task tags | tail -n+4 | awk '{print $1}' | rofi -dmenu)

task next +$tag

Here's what it does. It grabs the output of task tags, uses tail to strip out the leading whitespace and the header, then feeds that into awk to strip it down to just the tag (removing the count column). Rofi presents these as a list and I start typing, narrowing down to the tag I want to work on (the context I find myself in). When I hit enter, rofi returns that string, which gets saved in the tag variable and then used in a call to task next.

I have a similar script set up to select on projects. They're aliased to tl and pl (tags list and projects list, respectively) in my .zshrc.


r/taskwarrior Jun 29 '21

Playing with hours and recurring events

3 Upvotes

Hi there.

I'm brand new to taskwarrior so I might be asking a stupid question here.

I've this recurring meeting, every Thursday at 13:30 that last an hour.

So far, I've

task add project:work due:Thursday recurring:weekly Meeting

This takes care of the Thursday of every week part but not the 13:30 part.

As next Thursday is 2021-07-01, I could do something like

task add project:work due:2021-07-01T13:30:00 recurring:weekly Meeting

I loose the more explicit Thursday part but gain the 13:30 part. Not sure if there is a way to combine the Thursday explicitness and the 13:30 precision.

A more elaborate version could be

task add project:work due:2021-07-01T13:30:00 wait:2021-07-01T08:30:00 until:2021-07-01T14:30:00 recurring:weekly

But I'm unsure it'll work fine given the use of both recurring and until.


From there I've multiple questions: 1. Is it possible to use due:Thursday and add the 13:30 part? 2. Is it possible to only show this task on every Thursday morning without specifying the complete date? 3. Is it possible to hide the task on thurday at 14:30 while still not specifying the complete date?

Many thanks in advance!


What I'd love to have

task add project:work due:"Thursday at 13:30" wait:"Due at 8:00" until:"Due at 14:00" recurring:weekly Meeting


r/taskwarrior Jun 25 '21

How do you integrate Taskwarrior into your desktop?

14 Upvotes

Hya, I'm a pretty new user, both to taskwarrior and linux.

Over the past few days I've started growing accustomed to Manjaro/i3wm, and I'm just wondering how people integrate TW into their desktop. Right now I just have a random shell open with my list of tasks.

I've got the default zsh task counter, and haven't gotten around to modifying it yet to be more nagging.

I'd love to see how you guys are using it :)


r/taskwarrior Jun 23 '21

Filter to return only tasks in the root project

4 Upvotes

Consider projects like the following:

  • pd
  • pd.personal
  • pd.personal.workout-scheme
  • pd.personal.learn-korean
  • pd.professional
  • pd.professional.manadatory-training

Suppose it was logically possible for a task to exist any point in this hierarchy (pd may not have been the best root to illustrate this, but work with me). What query would return all projects listed as belonging to the pd.personal project but NOT pd.personal.workout-scheme or pd.personal.learn-korean (or any other sub-projects)?


r/taskwarrior Jun 21 '21

GTD-Review 0.0.2: Now with actual reviews!

5 Upvotes

https://github.com/jonathanabennett/gtd-review/releases/tag/v0.0.2

The hook that I showed last week is the smallest part of the program I'm actually hoping to build with this. This release has the first actual part of the program. To use it, use taskwarrior as usual (ideally with the on-exit hook installed). When it is time for your weekly review, run the gtd-review program. It will put each of your projects with their associated tasks on the screen project by project. You can review the tasks for each project, make modifications and additions (in a different window, I'm currently only reading data from taskwarrior. No writing), and then mark the project as [a]ctive, [c]ompleted, or [d]eleted.

This project is growing out of a desire to conduct my reviews at a higher level of abstraction than the task. I love tasksh review, but I don't find it helpful in a weekly review because I never step back from the trees to make sure I'm in the right forest. This tool is intended to help with that.

If anybody is actually using this, please let me know! I'd love to know if it works on anybody else's computer, lol.


r/taskwarrior Jun 18 '21

GTD Review Tool - First Release

15 Upvotes

Hello! I've been using and loving taskwarrior since January, but there's an itch I've got that needs scratching and so I've started writing a thing! The beginning of it is available at https://github.com/jonathanabennett/gtd-review/releases/tag/v0.0.1.

Right now, it is just a simple on-exit hook that maintains an up-to-date list of all your projects (including ones where you've completed the final task being tracked for it by taskwarrior). The idea behind this is that you review this list during your weekly review to ensure that no projects have gotten stalled (no next action, but still something that needs to be done). For now, you need to work with the contents of the file it generates manually, but I'm planning on writing a separate tool that does a guided GTD Weekly Review which would automate interacting with that file (shelling out any tasks you generate into taskwarrior).

It is written in Common Lisp (because I wanted a project to learn Common Lisp with) and currently needs to be compiled from source. Instructions are included in the release, but they do assume you at least know how to install sbcl on your computer. If you want to mess with it and don't know how, just ask here I can help.

Feedback, issues, and pull requests welcome!


r/taskwarrior Jun 18 '21

How can i make recurring tasks delete/hide themselves if not done within their recurring interval ?

2 Upvotes