1 | # === EDIT FILE LOCATIONS BELOW === |
2 |
|
3 | # Your todo.txt directory (this should be an absolute path) |
4 | #export TODO_DIR="/Users/gina/Documents/todo" |
5 | export TODO_DIR=${HOME:-$USERPROFILE} |
6 |
|
7 | # Your todo/done/report.txt locations |
8 | export TODO_FILE="$TODO_DIR/todo.txt" |
9 | export DONE_FILE="$TODO_DIR/done.txt" |
10 | export REPORT_FILE="$TODO_DIR/report.txt" |
11 |
|
12 | # You can customize your actions directory location |
13 | #export TODO_ACTIONS_DIR="$HOME/.todo.actions.d" |
14 |
|
15 | # == EDIT FILE LOCATIONS ABOVE === |
16 |
|
17 | # === COLOR MAP === |
18 |
|
19 | ## Text coloring and formatting is done by inserting ANSI escape codes. |
20 | ## If you have re-mapped your color codes, or use the todo.txt |
21 | ## output in another output system (like Conky), you may need to |
22 | ## over-ride by uncommenting and editing these defaults. |
23 | ## If you change any of these here, you also need to uncomment |
24 | ## the defaults in the COLORS section below. Otherwise, todo.txt |
25 | ## will still use the defaults! |
26 |
|
27 | export BLACK='\\033[0;30m' |
28 | export RED='\\033[0;31m' |
29 | export GREEN='\\033[0;32m' |
30 | export BROWN='\\033[0;33m' |
31 | export BLUE='\\033[0;34m' |
32 | export PURPLE='\\033[0;35m' |
33 | export CYAN='\\033[0;36m' |
34 | export LIGHT_GREY='\\033[0;37m' |
35 | export DARK_GREY='\\033[1;30m' |
36 | export LIGHT_RED='\\033[1;31m' |
37 | export LIGHT_GREEN='\\033[1;32m' |
38 | export YELLOW='\\033[1;33m' |
39 | export LIGHT_BLUE='\\033[1;34m' |
40 | export LIGHT_PURPLE='\\033[1;35m' |
41 | export LIGHT_CYAN='\\033[1;36m' |
42 | export WHITE='\\033[1;37m' |
43 | export DEFAULT='\\033[0m' |
44 |
|
45 | # === COLORS === |
46 |
|
47 | ## Uncomment and edit to override these defaults. |
48 | ## Reference the constants from the color map above, |
49 | ## or use $NONE to disable highlighting. |
50 | # |
51 | # Priorities can be any upper-case letter. |
52 | # A,B,C are highlighted; you can add coloring for more. |
53 | # |
54 | # export PRI_A=$YELLOW # color for A priority |
55 | # export PRI_B=$GREEN # color for B priority |
56 | # export PRI_C=$LIGHT_BLUE # color for C priority |
57 | # export PRI_D=... # define your own |
58 | # export PRI_X=$WHITE # color unless explicitly defined |
59 |
|
60 | # There is highlighting for tasks that have been done, |
61 | # but haven't been archived yet. |
62 | # |
63 | # export COLOR_DONE=$LIGHT_GREY |
64 |
|
65 | # There is highlighting for projects, contexts, dates, and item numbers. |
66 | # |
67 | export COLOR_PROJECT=$LIGHT_RED |
68 | export COLOR_CONTEXT=$LIGHT_BLUE |
69 | export COLOR_DATE=$BLUE |
70 | export COLOR_NUMBER=$LIGHT_GREY |
71 |
|
72 | # There is highlighting for metadata key:value pairs e.g. |
73 | # DUE:2006-08-01 or note:MYNOTE |
74 | # |
75 | # export COLOR_META=$CYAN |
76 |
|
77 | # === BEHAVIOR === |
78 |
|
79 | ## customize list output |
80 | # |
81 | # TODOTXT_SORT_COMMAND will filter after line numbers are |
82 | # inserted, but before colorization, and before hiding of |
83 | # priority, context, and project. |
84 | # |
85 | export TODOTXT_SORT_COMMAND='env LC_COLLATE=C sort -k 2,2 -k 1,1n' |
86 |
|
87 | # TODOTXT_FINAL_FILTER will filter list output after colorization, |
88 | # priority hiding, context hiding, and project hiding. That is, |
89 | # just before the list output is displayed. |
90 | # |
91 | # export TODOTXT_FINAL_FILTER='cat' |
92 |
|