# === EDIT FILE LOCATIONS BELOW ===

# Your todo.txt directory (this should be an absolute path)
export TODO_DIR="/opt/logs/TODO"
# export TODO_DIR=$(dirname "$0")

# Your todo/done/report.txt locations
export TODO_FILE="$TODO_DIR/todo.txt"
export DONE_FILE="$TODO_DIR/done.txt"
export REPORT_FILE="$TODO_DIR/report.txt"

# You can customize your actions directory location
#export TODO_ACTIONS_DIR="$HOME/.todo.actions.d"

# == EDIT FILE LOCATIONS ABOVE ===

# === COLOR MAP ===

## Text coloring and formatting is done by inserting ANSI escape codes.
## If you have re-mapped your color codes, or use the todo.txt
## output in another output system (like Conky), you may need to
## over-ride by uncommenting and editing these defaults.
## If you change any of these here, you also need to uncomment
## the defaults in the COLORS section below. Otherwise, todo.txt
## will still use the defaults!

#======> normal <========
export BLACK='\\033[0;30m'
export RED='\\033[0;31m'
export GREEN='\\033[0;32m'
export YELLOW='\\033[0;33m'
export BLUE='\\033[0;34m'
export PURPLE='\\033[0;35m'
export CYAN='\\033[0;36m'
export GREY='\\033[0;37m'
#======> bold <========
export BOLD_BLACK='\\033[1;30m'
export BOLD_RED='\\033[1;31m'
export BOLD_GREEN='\\033[1;32m'
export BOLD_YELLOW='\\033[1;33m'
export BOLD_BLUE='\\033[1;34m'
export BOLD_PURPLE='\\033[1;35m'
export BOLD_CYAN='\\033[1;36m'
export BOLD_GREY='\\033[1;37m'
#======> italic <========
export ITALIC_BLACK='\\033[3;30m'
export ITALIC_RED='\\033[3;31m'
export ITALIC_GREEN='\\033[3;32m'
export ITALIC_YELLOW='\\033[3;33m'
export ITALIC_BLUE='\\033[3;34m'
export ITALIC_PURPLE='\\033[3;35m'
export ITALIC_CYAN='\\033[3;36m'
export ITALIC_GREY='\\033[3;37m'
#======> underline <========
export UNDERLINE_BLACK='\\033[4;30m'
export UNDERLINE_RED='\\033[3;41m'
export UNDERLINE_GREEN='\\033[4;32m'
export UNDERLINE_YELLOW='\\033[4;33m'
export UNDERLINE_BLUE='\\033[4;34m'
export UNDERLINE_PURPLE='\\033[4;35m'
export UNDERLINE_CYAN='\\033[4;36m'
export UNDERLINE_GREY='\\033[4;37m'
#======> bold & italic <========
export BOLD_ITALIC_BLACK='\\033[1;3;30m'
export BOLD_ITALIC_RED='\\033[1;3;31m'
export BOLD_ITALIC_GREEN='\\033[1;3;32m'
export BOLD_ITALIC_YELLOW='\\033[1;3;33m'
export BOLD_ITALIC_BLUE='\\033[1;3;34m'
export BOLD_ITALIC_PURPLE='\\033[1;3;35m'
export BOLD_ITALIC_CYAN='\\033[1;3;36m'
export BOLD_ITALIC_GREY='\\033[1;3;37m'
#======> bold & underline <========
export BOLD_UNDERLINE_BLACK='\\033[1;4;30m'
export BOLD_UNDERLINE_RED='\\033[1;4;31m'
export BOLD_UNDERLINE_GREEN='\\033[1;4;32m'
export BOLD_UNDERLINE_YELLOW='\\033[1;4;33m'
export BOLD_UNDERLINE_BLUE='\\033[1;4;34m'
export BOLD_UNDERLINE_PURPLE='\\033[1;4;35m'
export BOLD_UNDERLINE_CYAN='\\033[1;4;36m'
export BOLD_UNDERLINE_GREY='\\033[1;4;37m'
#======> italic & underline <========
export ITALIC_UNDERLINE_BLACK='\\033[3;4;30m'
export ITALIC_UNDERLINE_RED='\\033[3;4;31m'
export ITALIC_UNDERLINE_GREEN='\\033[3;4;32m'
export ITALIC_UNDERLINE_YELLOW='\\033[3;4;33m'
export ITALIC_UNDERLINE_BLUE='\\033[3;4;34m'
export ITALIC_UNDERLINE_PURPLE='\\033[3;4;35m'
export ITALIC_UNDERLINE_CYAN='\\033[3;4;36m'
export ITALIC_UNDERLINE_GREY='\\033[3;4;37m'
#======> bold & italic & underline <========
export BOLD_ITALIC_UNDERLINE_BLACK='\\033[1;3;4;30m'
export BOLD_ITALIC_UNDERLINE_RED='\\033[1;3;4;31m'
export BOLD_ITALIC_UNDERLINE_GREEN='\\033[1;3;4;32m'
export BOLD_ITALIC_UNDERLINE_YELLOW='\\033[1;3;4;33m'
export BOLD_ITALIC_UNDERLINE_BLUE='\\033[1;3;4;34m'
export BOLD_ITALIC_UNDERLINE_PURPLE='\\033[1;3;4;35m'
export BOLD_ITALIC_UNDERLINE_CYAN='\\033[1;3;4;36m'
export BOLD_ITALIC_UNDERLINE_GREY='\\033[1;3;4;37m'
#======> REAL PRI COLOR <========
PRI_A_COLOR='\\033[1;4;31;47m'
PRI_B_COLOR='\\033[1;4;31;42m'
PRI_C_COLOR='\\033[1;4;31;43m'
PRI_D_COLOR='\\033[1;4;31;44m'
PRI_E_COLOR='\\033[1;4;31;46m'
#======> restore normal <========
export DEFAULT='\\033[0m'

# === COLORS ===

## Uncomment and edit to override these defaults.
## Reference the constants from the color map above,
## or use $NONE to disable highlighting.
#
# Priorities can be any upper-case letter.
# A,B,C are highlighted; you can add coloring for more.

export PRI_A=$PRI_A_COLOR        # color for A priority
export PRI_B=$PRI_B_COLOR        # color for B priority
export PRI_C=$PRI_C_COLOR        # color for C priority
export PRI_D=$PRI_D_COLOR        # color for D priority
export PRI_E=$PRI_E_COLOR        # color for E priority

# There is highlighting for tasks that have been done,
# but haven't been archived yet.
#
export COLOR_DONE=$BOLD_ITALIC_UNDERLINE_GREY

# There is highlighting for projects, contexts, dates, and item numbers.

export COLOR_PROJECT=$ITALIC_UNDERLINE_PURPLE
export COLOR_CONTEXT=$ITALIC_UNDERLINE_GREEN
export COLOR_DATE=$BOLD_BLUE
export COLOR_NUMBER=$BOLD_PURPLE

# There is highlighting for metadata key:value pairs e.g.
# DUE:2006-08-01 or note:MYNOTE

export COLOR_META=$BOLD_CYAN

# === BEHAVIOR ===

## customize list output
#
# TODOTXT_SORT_COMMAND will filter after line numbers are
# inserted, but before colorization, and before hiding of
# priority, context, and project.
#
# export TODOTXT_SORT_COMMAND='env LC_COLLATE=C sort -f -k2'

# TODOTXT_FINAL_FILTER will filter list output after colorization,
# priority hiding, context hiding, and project hiding. That is,
# just before the list output is displayed.
#
# export TODOTXT_FINAL_FILTER='cat'
