diff --git a/snowblocks/taskwarrior/nord.theme b/snowblocks/taskwarrior/nord.theme new file mode 100644 index 0000000..c90f2e6 --- /dev/null +++ b/snowblocks/taskwarrior/nord.theme @@ -0,0 +1,100 @@ +# Copyright (c) 2016-present Arctic Ice Studio +# Copyright (c) 2016-present Sven Greb + +# Project: igloo +# Repository: https://github.com/arcticicestudio/igloo +# License: MIT +# References: +# https://taskwarrior.org/docs/themes.html +# task-color(5) +# taskrc(5) + +rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda. + +#+---------+ +#+ General + +#+---------+ +color.label= +color.label.sort= +color.alternate= +color.header=bold blue +color.footnote=cyan +color.warning=bold black on yellow +color.error=bold white on red +color.debug=magenta + +#+-------------+ +#+ Task States + +#+-------------+ +color.completed=green +color.deleted=red +color.active=bold black on cyan +color.recurring= +color.scheduled=white on black +color.until=white on bright black +color.blocked=yellow on black +color.blocking=bold yellow on black + +#+----------+ +#+ Projects + +#+----------+ +color.project.none= + +#+----------+ +#+ Priority + +#+----------+ +color.uda.priority.H=bold cyan +color.uda.priority.M=bold blue +color.uda.priority.L=bold black + +#+------+ +#+ Tags + +#+------+ +color.tag.next= +color.tag.none= +color.tagged= + +#+-----+ +#+ Due + +#+-----+ +color.due=blue +color.due.today=cyan on black +color.overdue=bold red + +#+---------+ +#+ Reports + +#+---------+ +color.burndown.done=bold black on cyan +color.burndown.pending=black on bright cyan +color.burndown.started=black on blue + +color.history.add=bold black on blue +color.history.delete=bright white on bold black +color.history.done=bold black on cyan + +color.summary.background=bright white on black +color.summary.bar=black on cyan + +#+----------+ +#+ Calendar + +#+----------+ +color.calendar.due=bold black on blue +color.calendar.due.today=bold black on cyan +color.calendar.holiday=bold blue on white +color.calendar.overdue=white on red +color.calendar.today=bold black on cyan +color.calendar.weekend=bright white on bright black +color.calendar.weeknumber=bold black + +#+-----------------+ +#+ Synchronization + +#+-----------------+ +color.sync.added=green +color.sync.changed=yellow +color.sync.rejected=red + +#+------+ +#+ Undo + +#+------+ +color.undo.after=green +color.undo.before=red diff --git a/snowblocks/taskwarrior/snowblock.json b/snowblocks/taskwarrior/snowblock.json new file mode 100644 index 0000000..9e74902 --- /dev/null +++ b/snowblocks/taskwarrior/snowblock.json @@ -0,0 +1,27 @@ +[ + { + "clean": [ + "~", + "~/.task" + ] + }, + { + "link": { + "~/.taskrc": { + "force": true, + "hosts": { + "archbook": "taskrc", + "igloo": "taskrc" + } + }, + "~/.task/nord.theme": { + "create": true, + "force": true, + "hosts": { + "archbook": "nord.theme", + "igloo": "nord.theme" + } + } + } + } +] diff --git a/snowblocks/taskwarrior/taskrc b/snowblocks/taskwarrior/taskrc new file mode 100644 index 0000000..bc90009 --- /dev/null +++ b/snowblocks/taskwarrior/taskrc @@ -0,0 +1,82 @@ +# Copyright (c) 2016-present Arctic Ice Studio +# Copyright (c) 2016-present Sven Greb + +# Project: igloo +# Repository: https://github.com/arcticicestudio/igloo +# License: MIT +# References: +# https://taskwarrior.org/docs +# https://taskwarrior.org/docs/terminology.html#regex +# taskrc(5) +# task-sync(5) +# https://en.wikibooks.org/wiki/Regular_Expressions/POSIX-Extended_Regular_Expressions + +#+------+ +#+ Core + +#+------+ +data.location=~/.task + +complete.all.tags=true +default.command=list +editor=vim +list.all.projects=true +list.all.tags=true +regex=true +weekstart=Monday + +#+----+ +#+ UI + +#+----+ +include ~/.task/nord.theme +color=true + +#+---------+ +#+ Context + +#+---------+ +context.aur=project:aur +context.icecore=project:icecore +context.icepick=project:icepick +context.igloo=project:igloo +context.job=+job +context.lumio=project:lumio +context.nord=project:nord +context.northem=project:northem +context.private=+private +context.snowsaw=project:snowsaw +context.styleguide=project:styleguide + +#+-----+ +#+ UDA + +#+-----+ +uda.assignee.type=string +uda.assignee.label=Assignee +uda.assignee.values=arcticicestudio,svengreb,arcticfrostgaming, +uda.assignee.default= + +uda.estimate.type=string +uda.estimate.label=Size Estimate +uda.estimate.values=huge,large,medium,small,trivial, +uda.estimate.default= + +uda.ghi.type=numeric +uda.ghi.label=GitHub Issue +uda.ghi.default= + +#+---------+ +#+ Reports + +#+---------+ +report.stat.description=Optimized and extended status report +report.stat.columns=id,start.age,entry.age,depends.indicator,priority,project,tags,recur.indicator,scheduled,scheduled.relative,due,due.relative,until.remaining,description.count,urgency +report.stat.labels=ID,Active,Age,D,P,Project,Tags,R,Sch,,Due,,Until,Desc,Urg +report.stat.filter=status:pending +report.stat.sort=start-,due+,project+,urgency- + +#+---------+ +#+ Aliases + +#+---------+ +alias.a=add +alias.bd=burndown.daily +alias.cx=context +alias.e=edit +alias.ls=list +alias.mod=modify