From 53ce395cc7d59e3b110f306d1a3cc49d10ef5e60 Mon Sep 17 00:00:00 2001 From: xerus2000 <27jf@pm.me> Date: Sat, 3 Oct 2020 11:40:02 +0200 Subject: [PATCH] config/taskwarrior: Move taskrc --- .config/shell/functions | 4 ++-- .config/{ => task}/taskrc | 15 ++++++++++++--- .config/task/taskrc.dhall | 1 + 3 files changed, 15 insertions(+), 5 deletions(-) rename .config/{ => task}/taskrc (84%) create mode 100644 .config/task/taskrc.dhall diff --git a/.config/shell/functions b/.config/shell/functions index 374e63f..e6c5c3b 100644 --- a/.config/shell/functions +++ b/.config/shell/functions @@ -146,13 +146,13 @@ theme() { (light) export BAT_THEME="OneHalfLight" konsoleprofile colors="Light" - sed -i 's/#\(include.*\/light-256.theme\)/\1/' "$XDG_CONFIG_HOME/taskrc" + sed -i 's/#\(include.*\/light-256.theme\)/\1/' "$XDG_CONFIG_HOME/task/taskrc" #mozedit $mozfile '/light@mozilla/,/"enabled"/ s/\("enabled":.*\)false/\1true/; /dark@mozilla/,/"enabled"/ s/\("enabled":.*\)true/\1false/' ;; (dark) export BAT_THEME="OneHalfDark" konsoleprofile colors="Breeze" - sed -i 's/^include.*light-256.theme/#\0/' "$XDG_CONFIG_HOME/taskrc" + sed -i 's/^include.*light-256.theme/#\0/' "$XDG_CONFIG_HOME/task/taskrc" #mozedit $mozfile '/light@mozilla/,/"enabled"/ s/\("enabled":.*\)true/\1false/; /dark@mozilla/,/"enabled"/ s/\("enabled":.*\)false/\1true/' ;; esac diff --git a/.config/taskrc b/.config/task/taskrc similarity index 84% rename from .config/taskrc rename to .config/task/taskrc index bdea7b3..bcff5ec 100644 --- a/.config/taskrc +++ b/.config/task/taskrc @@ -70,6 +70,7 @@ context.work=+work context.fog=+comm or +admin or +move or +config or +browse # Reports +report.inbox.description=Interesting tasks without project report.inbox.columns=id,priority,tags,scheduled.countdown,due.relative,description.desc,url,urgency report.inbox.labels=ID,Prio,Tags,⏰,Description,Url,Urg report.inbox.filter=status:pending project: -config -consume @@ -79,18 +80,26 @@ report.next.columns=id,depends,priority,tags,scheduled.relative,due.relative,pro report.next.labels=ID,Deps,Prio,Tags,,⏰,Proj,Description,Urg report.next.filter=status:pending limit:20 +report.open.description=All non-completed tasks +report.open.columns=id,depends,priority,tags,scheduled.relative,due.relative,project,description.count,urgency +report.open.labels=ID,Deps,Prio,Tags,,⏰,Proj,Description,Urg +report.open.filter=-DELETED -COMPLETED -PARENT + +report.waitfor.description=Tasks waiting for external work report.waitfor.columns=id,tags,due.relative,project,description.count,urgency report.waitfor.labels=ID,Tags,⏰,Proj,Description,Urg report.waitfor.filter=+waitfor +report.break.description=Physical tasks for a break report.break.columns=id,description.desc,due.relative,urgency report.break.labels=ID,Description,Scheduled,Urgency -report.break.filter=status:pending limit:page (+phys or +move) +report.break.filter=status:pending limit:9 (+phys or +move) report.break.sort=urgency- +report.meeting.description=Mundane tasks that don't need a specific location report.meeting.columns=id,description.desc,due.relative,urgency report.meeting.labels=ID,Description,Scheduled,Urgency -report.meeting.filter=status:pending limit:page +phys +report.meeting.filter=status:pending limit:9 +phys report.meeting.sort=urgency- # General config @@ -108,4 +117,4 @@ report._reviewed.filter=( reviewed.none: or reviewed.before:now-6days ) and ( +P # aliases alias.cfg=add +pc +config alias.research=add +pc +research -alias.waiton=mod +waitfor wait:1mo due:1d +alias.waiton=mod +waitfor wait:1w due:3w diff --git a/.config/task/taskrc.dhall b/.config/task/taskrc.dhall new file mode 100644 index 0000000..8d1c8b6 --- /dev/null +++ b/.config/task/taskrc.dhall @@ -0,0 +1 @@ +