From 7fdbe97c7ee14afffec349e8412557374177966e Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 28 Jul 2021 09:58:17 +0200 Subject: [PATCH] tmux: Limit taskwarrrior session burndown display Set burndown chart to only display last 3 months of tasks. I have found this (for now) to be the best balance between getting a general sense of overview and still having a meaningful output. The problem with just basic `burndown` command is that, after using taskwarrior for a while, your completed tasks *will* pile up (I think I am at around 1000 now) and the burndown chart, showing relative balance of completed, pending, working on, will become meaningless. It will only ever display a large portion of green --- completed --- tasks and not give a lot of insight. Setting it to only 1 month back, or even just a week, can work but for me does not present enough of a tracking overview. I want to see, relatively, how well I am doing over the last couple of weeks instead of just today against the days before. This setting might still change as my needs change. --- tmux/.config/tmux/sessions/todo.session | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmux/.config/tmux/sessions/todo.session b/tmux/.config/tmux/sessions/todo.session index f47eaef..285881c 100644 --- a/tmux/.config/tmux/sessions/todo.session +++ b/tmux/.config/tmux/sessions/todo.session @@ -4,7 +4,7 @@ new-window -n dash send-keys "cd ${XDG_DATA_HOME:-~/.local/share}/task/; fd . | entr -c task next" C-m split-window -h -l 71 send-keys "cd ${XDG_DATA_HOME:-~/.local/share}/task/; fd . | entr -c task summary" C-m -split-window -v "cd ${XDG_DATA_HOME:-~/.local/share}/task/; fd . | entr -c task burndown" +split-window -v "cd ${XDG_DATA_HOME:-~/.local/share}/task/; fd . | entr -c task end.after=tod-3m or entry.after=tod-1m burndown" select-pane -t 1 split-window -v -l 5 send-keys "t" Space