diff --git a/src/Config.cpp b/src/Config.cpp index 75cb4da61..53836392a 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -82,21 +82,8 @@ std::string Config::defaults = "\n" "# Color controls.\n" "color=on # Enable color\n" - "color.overdue=bold red # Color of overdue tasks\n" - "color.due=bold yellow # Color of due tasks\n" - "color.pri.H=bold # Color of priority:H tasks\n" - "#color.pri.M=on yellow # Color of priority:M tasks\n" - "#color.pri.L=on green # Color of priority:L tasks\n" - "#color.pri.none=white on blue # Color of priority: tasks\n" - "color.active=bold cyan # Color of active tasks\n" - "color.tagged=yellow # Color of tagged tasks\n" - "#color.tag.bug=yellow # Color of +bug tasks\n" - "#color.project.garden=on green # Color of project:garden tasks\n" - "#color.keyword.car=on blue # Color of description.contains:car tasks\n" - "#color.recurring=on red # Color of recur.any: tasks\n" "#color.header=bold green # Color of header messages\n" "#color.footnote=bold green # Color of footnote messages\n" - "#color.alternate=on rgb253 # Alternate color for line coloring\n" "color.calendar.today=black on cyan # Color of today in calendar\n" "color.calendar.due=black on green # Color of days with due tasks in calendar\n" "color.calendar.overdue=black on red # Color of days with overdue tasks in calendar\n" @@ -105,6 +92,24 @@ std::string Config::defaults = "color.calendar.weeknumber=black on white # Color of the weeknumbers in calendar\n" "#color.debug=magenta # Color of diagnostic output\n" "\n" + "# The following rules are presented in their order of precedence.\n" + "# The higher the color rule is up this list, the higher precedence\n" + "# it has in determining the color for the task. Precedence is shown\n" + "# in brackets [1]\n" + "#color.recurring=on red # [1] Color of recur.any: tasks\n" + "color.overdue=bold red # [2] Color of overdue tasks\n" + "color.due=bold yellow # [3] Color of due tasks\n" + "#color.keyword.car=on blue # [4] Color of description.contains:car tasks\n" + "#color.project.garden=on green # [5] Color of project:garden tasks\n" + "#color.tag.bug=yellow # [6] Color of +bug tasks\n" + "color.active=bold cyan # [7] Color of active tasks\n" + "#color.pri.none=white on blue # [8] Color of priority: tasks\n" + "color.pri.H=bold # [8] Color of priority:H tasks\n" + "#color.pri.M=on yellow # [8] Color of priority:M tasks\n" + "#color.pri.L=on green # [8] Color of priority:L tasks\n" + "color.tagged=yellow # [9] Color of tagged tasks\n" + "#color.alternate=on rgb253 # [10] Alternate color for line coloring\n" + "\n" "# Shadow file support\n" "#shadow.file=/tmp/shadow.txt # Location of shadow file\n" "#shadow.command=list # Task command for shadow file\n"