From 294b84477d26167b41b13995d04102200e76bd74 Mon Sep 17 00:00:00 2001 From: Simon Hoffmann Date: Fri, 3 Sep 2021 21:12:06 +0200 Subject: [PATCH 1/3] improve docs: clarify report.filter variable and add commandline flags --- docs/configuration/advanced.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/configuration/advanced.md b/docs/configuration/advanced.md index cde4041..a381149 100644 --- a/docs/configuration/advanced.md +++ b/docs/configuration/advanced.md @@ -1,5 +1,7 @@ # Advanced configuration +## `taskrc` config file options: + Other `taskwarrior-tui` configuration options are possible using the user defined attribute feature of `taskwarrior`. All `taskwarrior-tui` specific configuration options will begin with `uda.taskwarrior-tui.`. The following is a full list of all the options available and their default values implemented by `taskwarrior-tui` if not defined in your `taskrc` file. @@ -25,6 +27,13 @@ uda.taskwarrior-tui.style.calendar.title=black on rgb444 uda.taskwarrior-tui.task-report.next.filter=$(task show report.next.filter) ``` +The `uda.taskwarrior-tui.task-report.next.filter` variable defines the default view at program startup. Set this to any preconfigured report (`task reports`), or create your own report in taskwarrior and specify its name here. + +## commandline options: + +`-c`: specify a config file other than standard `.taskrc` +`-r`: specify a report to be shown, overrides `uda.taskwarrior-tui.task-report.next.filter` for this instance + ## Configure user defined shortcuts: You can configure shortcuts to execute custom commands from your `taskwarrior`'s `taskrc` file (default: `~/.taskrc`). From 6011e6b6c10c7d9bc8585e6449cc74f41a37b7fd Mon Sep 17 00:00:00 2001 From: Simon Hoffmann Date: Fri, 3 Sep 2021 21:13:43 +0200 Subject: [PATCH 2/3] fix line break --- docs/configuration/advanced.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration/advanced.md b/docs/configuration/advanced.md index a381149..9e3d896 100644 --- a/docs/configuration/advanced.md +++ b/docs/configuration/advanced.md @@ -31,7 +31,7 @@ The `uda.taskwarrior-tui.task-report.next.filter` variable defines the default v ## commandline options: -`-c`: specify a config file other than standard `.taskrc` +`-c`: specify a config file other than standard `.taskrc` `-r`: specify a report to be shown, overrides `uda.taskwarrior-tui.task-report.next.filter` for this instance ## Configure user defined shortcuts: From 1c405eeb9d73cbea4bb547f6a7a7701f3e79b77c Mon Sep 17 00:00:00 2001 From: Simon Hoffmann Date: Mon, 6 Sep 2021 11:54:16 +0200 Subject: [PATCH 3/3] remove -c commandline option --- docs/configuration/advanced.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/configuration/advanced.md b/docs/configuration/advanced.md index 9e3d896..aabd8d5 100644 --- a/docs/configuration/advanced.md +++ b/docs/configuration/advanced.md @@ -31,7 +31,6 @@ The `uda.taskwarrior-tui.task-report.next.filter` variable defines the default v ## commandline options: -`-c`: specify a config file other than standard `.taskrc` `-r`: specify a report to be shown, overrides `uda.taskwarrior-tui.task-report.next.filter` for this instance ## Configure user defined shortcuts: