Merge branch 'master' of github.com:hektor/dots

master
Hektor Misplon 2023-05-07 16:47:50 +02:00
commit 77f58140a1
5 changed files with 51 additions and 28 deletions

3
.bin/get-anki-decks Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
curl localhost:8765 -X POST -d '{action: deckNames, version: 6}' | jq '.result[]' -r

View File

@ -1,4 +0,0 @@
channels:
- conda-forge
- defaults
channel_priority: strict

View File

@ -1,10 +1,22 @@
data.location=~/.task data.location=$XDG_DATA_HOME/task/
hooks.location=$XDG_CONFIG_HOME/task/hooks/
include ./taskrc.d/server include ./taskrc.d/server
# Theme
include /usr/share/doc/task/rc/light-256.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.type=date
uda.reviewed.label=Reviewed uda.reviewed.label=Reviewed
report._reviewed.description=Tasksh review report. Adjust the filter to your needs. 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.sort=reviewed+,modified+
report._reviewed.filter=( reviewed.none: or reviewed.before:now-6days ) and ( +PENDING or +WAITING ) 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.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 # Set urgencies for certain projects
urgency.user.project.studies.coefficient=1.0 urgency.user.project.studies.coefficient=1.0
@ -44,3 +68,8 @@ urgency.uda.priority.L.coefficient=-1.0
search.case.sensitive=no search.case.sensitive=no
context.cc.read=pro:studies.cc context.cc.read=pro:studies.cc
context.cc.write=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

View File

@ -6,9 +6,9 @@ source ~/.env
config_file=~/.config/task/taskrc.d/server config_file=~/.config/task/taskrc.d/server
echo "taskd.certificate=~/.task/default-client.cert.pem" > $config_file echo "taskd.certificate=$XDG_DATA_HOME/task/default-client.cert.pem" > $config_file
echo "taskd.key=~/.task/default-client.key.pem" >> $config_file echo "taskd.key=$XDG_DATA_HOME/task/default-client.key.pem" >> $config_file
echo "taskd.ca=~/.task/ca.cert.pem" >> $config_file echo "taskd.ca=$XDG_DATA_HOME/task/ca.cert.pem" >> $config_file
echo "taskd.trust=ignore hostname" >> $config_file echo "taskd.trust=ignore hostname" >> $config_file
echo "taskd.server=$TASKD_SERVER:$TASKD_PORT" >> $config_file echo "taskd.server=$TASKD_SERVER:$TASKD_PORT" >> $config_file
echo "taskd.credentials=$TASKD_CREDS" >> $config_file echo "taskd.credentials=$TASKD_CREDS" >> $config_file

11
.npmrc
View File

@ -1,8 +1,3 @@
init-autor-name=Hektor Misplon init.author.name=Hektor Misplon
init-autor-email=hektor.misplon@gmail.com init.author.email=hektor.misplon@gmail.com
init-license=MIT 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