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 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 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 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