Compare commits
3 Commits
adc550b2ed
...
3824bd663c
Author | SHA1 | Date |
---|---|---|
Hektor Misplon | 3824bd663c | |
Hektor Misplon | f4b69ffd0a | |
Hektor Misplon | 799dd32950 |
14
.bashrc
14
.bashrc
|
@ -115,3 +115,17 @@ if [[ -z "${SSH_CONNECTION}" ]]; then
|
||||||
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
||||||
fi
|
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" "$@"
|
||||||
|
}
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
taskrc.d/sync
|
taskrc.d/sync
|
||||||
|
taskrc.d/private
|
||||||
|
|
|
@ -1,76 +1,17 @@
|
||||||
data.location=$XDG_DATA_HOME/task/
|
data.location=$XDG_DATA_HOME/task/
|
||||||
hooks.location=$XDG_DATA_HOME/task/hooks
|
hooks.location=$XDG_DATA_HOME/task/hooks
|
||||||
|
|
||||||
|
include /usr/share/doc/task/rc/light-256.theme
|
||||||
include ./taskrc.d/$HOSTNAME
|
include ./taskrc.d/$HOSTNAME
|
||||||
include ./taskrc.d/sync
|
include ./taskrc.d/sync
|
||||||
include /usr/share/doc/task/rc/light-256.theme
|
include ./taskrc.d/urgency
|
||||||
|
include ./taskrc.d/reports
|
||||||
color.active=bold white on black
|
include ./taskrc.d/contexts
|
||||||
color.alternate=
|
include ./taskrc.d/colors
|
||||||
color.scheduled=
|
include ./taskrc.d/udas
|
||||||
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
|
|
||||||
|
|
||||||
search.case.sensitive=no
|
search.case.sensitive=no
|
||||||
context.cc.read=pro:studies.cc
|
|
||||||
context.cc.write=pro:studies.cc
|
rc.json.array=on
|
||||||
context.home.read=project:home
|
rc.verbose=nothing
|
||||||
context.home.write=project:home
|
news.version=3.1.0
|
||||||
context.rl.read=project:studies.rl
|
|
||||||
context.rl.write=project:studies.rl
|
|
||||||
news.version=2.6.0
|
|
||||||
|
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
Loading…
Reference in New Issue