From 510fbf9ae881e7874169f675e78f533b2c74d7eb Mon Sep 17 00:00:00 2001 From: hektor Date: Mon, 1 May 2023 15:55:07 +0200 Subject: [PATCH 1/4] Remove conda configuration --- .config/conda/condarc | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 .config/conda/condarc diff --git a/.config/conda/condarc b/.config/conda/condarc deleted file mode 100644 index 9ccc701..0000000 --- a/.config/conda/condarc +++ /dev/null @@ -1,4 +0,0 @@ -channels: - - conda-forge - - defaults -channel_priority: strict From fed7d836c3bd3574120afea451205b94b5be502c Mon Sep 17 00:00:00 2001 From: hektor Date: Mon, 1 May 2023 15:56:35 +0200 Subject: [PATCH 2/4] Update npmrc --- .npmrc | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.npmrc b/.npmrc index d1edafc..d666805 100644 --- a/.npmrc +++ b/.npmrc @@ -1,8 +1,3 @@ -init-autor-name=Hektor Misplon -init-autor-email=hektor.misplon@gmail.com -init-license=MIT -username=hektormisplon -email=hektor.misplon@pm.me -save-exact=true -init.author.name=hektor.misplon@pm.me -//registry.npmjs.org/:_authToken=$NPM_CONFIG_TOKEN +init.author.name=Hektor Misplon +init.author.email=hektor.misplon@gmail.com +init.license=MIT From 75e78e97ed2ee5fa69ad53895ae5ee61e1e3b396 Mon Sep 17 00:00:00 2001 From: hektor Date: Thu, 4 May 2023 02:54:51 +0200 Subject: [PATCH 3/4] Add command for listing anki decks --- .bin/get-anki-decks | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 .bin/get-anki-decks diff --git a/.bin/get-anki-decks b/.bin/get-anki-decks new file mode 100755 index 0000000..8cd51e3 --- /dev/null +++ b/.bin/get-anki-decks @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +curl localhost:8765 -X POST -d '{action: deckNames, version: 6}' | jq '.result[]' -r From be4ddc5a89522288087f10759884d9689a4909c6 Mon Sep 17 00:00:00 2001 From: hektor Date: Fri, 5 May 2023 20:31:42 +0200 Subject: [PATCH 4/4] Update taskwarrior config --- .config/task/taskrc | 55 ++++++++++++++++++++++++++-------- .config/task/taskrc.d/setup.sh | 6 ++-- 2 files changed, 45 insertions(+), 16 deletions(-) diff --git a/.config/task/taskrc b/.config/task/taskrc index fb80a8b..864648e 100644 --- a/.config/task/taskrc +++ b/.config/task/taskrc @@ -1,10 +1,22 @@ -data.location=~/.task +data.location=$XDG_DATA_HOME/task/ +hooks.location=$XDG_CONFIG_HOME/task/hooks/ include ./taskrc.d/server - -# Theme 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. @@ -12,17 +24,29 @@ report._reviewed.columns=uuid report._reviewed.sort=reviewed+,modified+ report._reviewed.filter=( reviewed.none: or reviewed.before:now-6days ) and ( +PENDING or +WAITING ) -# Changes to `all` report: -# -# due->due.remaining -# report.all.columns=id,status.short,uuid.short,start.active,entry.age,end.age,depends.indicator,priority,project.parent,tags.count,recur.indicator,wait.remaining,scheduled.remaining,due.remaining,until.remaining,description -# report.all.labels=ID,St,UUID,A,Age,Done,D,P,Project,Tags,R,Wait,Sch,Due,Until,Description - -# Description report -report.description.columns=description - -# Adjust defaults 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 @@ -44,3 +68,8 @@ urgency.uda.priority.L.coefficient=-1.0 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 diff --git a/.config/task/taskrc.d/setup.sh b/.config/task/taskrc.d/setup.sh index e171c00..7d9a2fb 100755 --- a/.config/task/taskrc.d/setup.sh +++ b/.config/task/taskrc.d/setup.sh @@ -6,9 +6,9 @@ source ~/.env config_file=~/.config/task/taskrc.d/server -echo "taskd.certificate=~/.task/default-client.cert.pem" > $config_file -echo "taskd.key=~/.task/default-client.key.pem" >> $config_file -echo "taskd.ca=~/.task/ca.cert.pem" >> $config_file +echo "taskd.certificate=$XDG_DATA_HOME/task/default-client.cert.pem" > $config_file +echo "taskd.key=$XDG_DATA_HOME/task/default-client.key.pem" >> $config_file +echo "taskd.ca=$XDG_DATA_HOME/task/ca.cert.pem" >> $config_file echo "taskd.trust=ignore hostname" >> $config_file echo "taskd.server=$TASKD_SERVER:$TASKD_PORT" >> $config_file echo "taskd.credentials=$TASKD_CREDS" >> $config_file