Compare commits

...

3 Commits

Author SHA1 Message Date
Hektor Misplon 3824bd663c Update taskwarrior config 2024-12-22 19:50:15 +01:00
Hektor Misplon f4b69ffd0a
Remove ipython profile 2024-12-15 21:24:24 +01:00
Hektor Misplon 799dd32950 Add codi shell wrapper 2024-12-15 13:39:39 +01:00
9 changed files with 70 additions and 1384 deletions

14
.bashrc
View File

@ -115,3 +115,17 @@ if [[ -z "${SSH_CONNECTION}" ]]; then
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
fi
# }}}
# Codi
# Usage: codi [filetype] [filename]
codi() {
local syntax="${1:-python}"
shift
nvim -c \
"let g:startify_disable_at_vimenter = 1 |\
set bt=nofile ls=0 noru nonu nornu |\
hi ColorColumn ctermbg=NONE |\
hi VertSplit ctermbg=NONE |\
hi NonText ctermfg=0 |\
Codi $syntax" "$@"
}

View File

@ -1 +1,2 @@
taskrc.d/sync
taskrc.d/private

View File

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

View File

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

View File

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

View File

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

View File

View File

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

File diff suppressed because it is too large Load Diff