Add personal taskwarrior theme

This theme focuses more on hues than saturation. Aside from that it's
not very special versus the stock themes.

Also add an alias for taskwarrior-tui because it's sometimes useful.
This commit is contained in:
Trysdyn Black 2021-03-30 17:11:17 -07:00
parent d0ef892e35
commit f5b3aa8d69
3 changed files with 88 additions and 1 deletions

86
.config/taskwarrior/theme Normal file
View file

@ -0,0 +1,86 @@
###
# The general approach to this theme differs from most taskwarrior themes.
# Instead of focusing on one hue and using 15 different shades of that hue,
# this theme uses both hue and saturation as a two axis presenatation as such:
#
# Axis 1: Hue. Priority
# - blue (informative/debug/structure)
# - green
# - yellow
# - orange
# - red
#
# Axis 2: Saturation. Actionability
###
rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda.
# General decoration
color.label=rgb002
color.label.sort=rgb002
color.alternate=on grey1
color.header=rgb002
color.footnote=rgb002
color.warning=rgb440
color.error=rgb500
color.debug=rgb114
# Task state
color.completed=rgb020
color.deleted=rgb010
color.active=on rgb010
color.recurring=
color.scheduled=
color.until=
color.blocked=gray10
color.blocking=on gray3
# Project
color.project.none=
# Priority
color.uda.priority.H=rgb500
color.uda.priority.L=rgb010
color.uda.priority.M=
# Tags
color.tag.next=
color.tag.none=
color.tagged=
# Due
color.due=
color.due.today=rgb420
color.overdue=rgb500
# Report: burndown
color.burndown.done=on rgb020
color.burndown.pending=on grey10
color.burndown.started=on rgb110
# Report: history
color.history.add=rgb050
color.history.delete=rgb500
color.history.done=rgb055
# Report: summary
color.summary.background=
color.summary.bar=on rgb010
# Command: calendar
color.calendar.due=rgb533
color.calendar.due.today=rgb420
color.calendar.holiday=rgb115
color.calendar.overdue=rgb500
color.calendar.today=on rgb111
color.calendar.weekend=rgb222
color.calendar.weeknumber=rgb002
# Command: sync
color.sync.added=
color.sync.changed=
color.sync.rejected=
# Command: undo
color.undo.after=rgb300
color.undo.before=rgb030

View file

@ -1,4 +1,4 @@
include /usr/share/taskwarrior/dark-green-256.theme
include ~/.config/taskwarrior/theme
data.location=~/Nextcloud/My Library/taskwarrior

1
.zshrc
View file

@ -35,6 +35,7 @@ SAVEHIST=10000
setopt appendhistory
alias ct="clear && task"
alias tt="taskwarrior-tui"
alias ls='ls --color=auto'
alias grep='grep -EIs --color=auto --exclude-dir=.git'
alias diff='diff --color=auto'