diff --git a/.config/task/.gitignore b/.config/task/.gitignore index 1f15efd..52a7fce 100644 --- a/.config/task/.gitignore +++ b/.config/task/.gitignore @@ -1 +1,2 @@ taskrc.d/sync +taskrc.d/private diff --git a/.config/task/taskrc b/.config/task/taskrc index 35a4c1f..97e84fa 100644 --- a/.config/task/taskrc +++ b/.config/task/taskrc @@ -1,76 +1,17 @@ data.location=$XDG_DATA_HOME/task/ hooks.location=$XDG_DATA_HOME/task/hooks +include /usr/share/doc/task/rc/light-256.theme include ./taskrc.d/$HOSTNAME include ./taskrc.d/sync -include /usr/share/doc/task/rc/light-256.theme - -color.active=bold white on black -color.alternate= -color.scheduled= -color.until= -color.blocking=gray0 -color.blocked=gray15 -color.uda.priority.H= -color.uda.priority.M= -color.uda.priority.L= -color.due= -color.due.today= -color.overdue= - -uda.reviewed.type=date -uda.reviewed.label=Reviewed -report._reviewed.description=Tasksh review report. Adjust the filter to your needs. -report._reviewed.columns=uuid -report._reviewed.sort=reviewed+,modified+ -report._reviewed.filter=( reviewed.none: or reviewed.before:now-6days ) and ( +PENDING or +WAITING ) - -alias.burndown=burndown.daily -alias.a=add -alias.rm=delete -alias.e=modify - -# -# Custom reports -# - -# Report: inbox - -report.in.columns=id,description -report.in.labels=ID,Description -report.in.description=Inbox (tasks with no project) -report.in.filter=status:pending and project: - -report.recent.columns=id,description,entry -report.recent.labels=ID,Description,Age -report.recent.description=Recently added -report.recent.sort=entry+ - -report.minimal.columns=id,description -report.minimal.labels=, - -# Set urgencies for certain projects -urgency.user.project.studies.coefficient=1.0 -urgency.user.project.admin.coefficient=1.0 -urgency.user.project.personal.coefficient=0.5 -urgency.user.project.groceries.coefficient=0.5 -urgency.user.project.home.coefficient=0.2 -urgency.user.project.creative.coefficient=0.0 -urgency.user.project.side.coefficient=0.0 - -# Set urgencies for certain tags -urgency.user.tag.money.coefficient=1.5 - -# Adjust urgencies for priorities -urgency.uda.priority.L.coefficient=-1.0 - -# verbose=blank,header,footnote,label,new-id,affected,edit,special,project,unwait +include ./taskrc.d/urgency +include ./taskrc.d/reports +include ./taskrc.d/contexts +include ./taskrc.d/colors +include ./taskrc.d/udas search.case.sensitive=no -context.cc.read=pro:studies.cc -context.cc.write=pro:studies.cc -context.home.read=project:home -context.home.write=project:home -context.rl.read=project:studies.rl -context.rl.write=project:studies.rl -news.version=2.6.0 + +rc.json.array=on +rc.verbose=nothing +news.version=3.1.0 diff --git a/.config/task/taskrc.d/colors b/.config/task/taskrc.d/colors new file mode 100644 index 0000000..675252d --- /dev/null +++ b/.config/task/taskrc.d/colors @@ -0,0 +1,17 @@ +color.active=bold white on black +color.alternate= +color.scheduled= +color.until= +color.blocking=bold +color.blocked=gray15 +color.uda.priority.H=bold +color.uda.priority.M= +color.uda.priority.L= +color.due= +color.due.today= +color.overdue= + +alias.burndown=burndown.daily +alias.a=add +alias.rm=delete +alias.e=modify diff --git a/.config/task/taskrc.d/contexts b/.config/task/taskrc.d/contexts new file mode 100644 index 0000000..3cac65b --- /dev/null +++ b/.config/task/taskrc.d/contexts @@ -0,0 +1,5 @@ +context.home.read=project:home +context.work.read=tags:work +context.home.write=project:home +context.studies.read=project:studies +context.studies.write=project:studies diff --git a/.config/task/taskrc.d/reports b/.config/task/taskrc.d/reports new file mode 100644 index 0000000..717a985 --- /dev/null +++ b/.config/task/taskrc.d/reports @@ -0,0 +1,14 @@ +report.in.columns=id,description +report.in.labels=ID,Description +report.in.description=Inbox (tasks with no project) +report.in.filter=status:pending and project: + +report.recent.columns=id,description,entry +report.recent.labels=ID,Description,Age +report.recent.description=Recently added +report.recent.sort=entry+ + +report.minimal.columns=id,description +report.minimal.labels=, + +# verbose=blank,header,footnote,label,new-id,affected,edit,special,project,unwait diff --git a/.config/task/taskrc.d/udas b/.config/task/taskrc.d/udas new file mode 100644 index 0000000..e69de29 diff --git a/.config/task/taskrc.d/urgency b/.config/task/taskrc.d/urgency new file mode 100644 index 0000000..f4695e1 --- /dev/null +++ b/.config/task/taskrc.d/urgency @@ -0,0 +1,9 @@ +urgency.uda.priority.L.coefficient=-1.0 + +urgency.user.project.studies.coefficient=1.0 +urgency.user.project.admin.coefficient=1.0 +urgency.user.project.personal.coefficient=0.5 +urgency.user.project.groceries.coefficient=0.5 +urgency.user.project.home.coefficient=0.2 +urgency.user.project.creative.coefficient=0.0 +urgency.user.project.side.coefficient=0.0