Skip to content

Commit 61b4466

Browse files
committed
Themeing is here! Misc doc fixes
1 parent 1e8f615 commit 61b4466

39 files changed

+449
-12
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@ Redo.vc is a tool for command line fans that allows you to track your tasks. It
66
To learn about available redo.vc commands, see the [usage page](https://redo.vc/usage/)
77

88
## Features
9-
9+
* [NEW] [Theming capabilities](https://redo.vc/theming)
10+
* [NEW] Adding additional due strings (End of quarter, End of Month)
1011
* Tasks can be assigned to a project
1112
* Projects can be created dynamically while creating todos
1213
* Tasks can have a due date or NO due date
1314
* Tags can be specified by using the '#' prepended to single word. If it does not exist, it will be created
1415
* Projects can be specified by using the '+' prepended to a single word in the description. If the project does not exist, it will be created
1516
* Tasks can be prioritized
1617
* Notes can be added to tasks and shown or hidden when listing tasks
17-
* Due dates can be absolute (oct25) or relative (monday, today, etc.)
18+
* Due dates can be absolute (oct25, 25oct) or relative (monday, today, none, etc.)
1819
* Tasks can be marked as completed
1920
* Tasks can be archived
2021
* Tasks can be deleted
@@ -27,15 +28,14 @@ To learn about available redo.vc commands, see the [usage page](https://redo.vc/
2728

2829

2930
## Future Plans
30-
* Theming
31+
* ~~Theming capabilities~~
32+
* ~~Adding additional due strings (End of quarter, End of Month)~~
3133
* Syncing via cloud providers (Google Drive, iCloud, Dropbox, etc.)
3234
* Web UI
3335
* Importing from common formats
3436
* Config file defaults
3537
* Whatever you would like to see! [Let me know](https://github.com/sottey/redo.vc/discussions)
3638

37-
## GitHub
38-
All source code is available on [GitHub](https://github.com/sottey/redo.vc)
3939

4040
## Building
4141

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Envs = [
1111
{ goos: "windows", arch: "amd64" }
1212
].freeze
1313

14-
Version = "1.7.4".freeze
14+
Version = "1.7.5".freeze
1515

1616
task :build do
1717
`rm -rf dist/#{Version}`

dist/1.7.5/redovc_win.zip

3.22 MB
Binary file not shown.

dist/1.7.5/redovcdarwin_amd64.tar.gz

2.96 MB
Binary file not shown.

dist/1.7.5/redovclinux_386.tar.gz

2.92 MB
Binary file not shown.

dist/1.7.5/redovclinux_amd64.tar.gz

3.06 MB
Binary file not shown.

dist/1.7.5/redovclinux_arm.tar.gz

2.82 MB
Binary file not shown.

dist/1.7.5/redovclinux_arm64.tar.gz

2.86 MB
Binary file not shown.

main

0 Bytes
Binary file not shown.

redovc/app.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
const (
1212
// Current version of redovc.
13-
VERSION string = "1.7.4"
13+
VERSION string = "1.7.5"
1414

1515
DATE_FORMAT string = "2006-01-02"
1616
)

redovc_docs/docs/index.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Redo.vc is a tool for command line fans that allows you to track your tasks. It
66
To learn about available redo.vc commands, see the [usage page](https://redo.vc/usage/)
77

88
## Features
9-
* [NEW] Theming capabilities
9+
* [NEW] [Theming capabilities](https://redo.vc/theming)
1010
* [NEW] Adding additional due strings (End of quarter, End of Month)
1111
* Tasks can be assigned to a project
1212
* Projects can be created dynamically while creating todos
@@ -28,6 +28,8 @@ To learn about available redo.vc commands, see the [usage page](https://redo.vc/
2828

2929

3030
## Future Plans
31+
* ~~Theming capabilities~~
32+
* ~~Adding additional due strings (End of quarter, End of Month)~~
3133
* Syncing via cloud providers (Google Drive, iCloud, Dropbox, etc.)
3234
* Web UI
3335
* Importing from common formats

redovc_docs/docs/theming.md

+90
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# Theming
2+
3+
## Themes
4+
Command shells have very limited color abilities, but I decided it would be good to not impose my color scheme on everyone who uses redovc.... So, theming.
5+
6+
## Theme file
7+
A theme file can live in your home directory and it will be used as the default. You can also have theme files in other directories and when you are in that directory, that theme will be used.
8+
9+
The theme file must be named .todos.theme.json and the contents are used to describe how different sections of the redovc list command presents data.
10+
11+
## Theme file color structure
12+
You can find sample theme files in the [sampleThemes](https://github.com/sottey/redo.vc/tree/main/sampleThemes) directory of the source code.
13+
14+
For each section, there are a number of properties:
15+
16+
- Desc - Color of group names when group: is specified
17+
- Name - Name of section. These are used by the code and must be one of:
18+
- groupTitleColor - Color of group names when group: is specified
19+
- noteIDColor - Color of note id's when --notes is used
20+
- noteTextColor - Color of note contents when --notes is used
21+
- taskIDColor - Color of a task id
22+
- taskIDPriColor - Color of a task id if the task is prioritized
23+
- completedColor - Color of completed indicator ([ ] or [X])
24+
- statusColor - Color of task status
25+
- statusPriColor - Color of a task status if task is prioritized
26+
- informationColor - Color of area indicating Priority, Note and Archived
27+
- todayColor - Color of a task due today
28+
- todayPriColor - Color of a task due today if that task is prioritized
29+
- tomorrowColor - Color of a task due tomorrow
30+
- tomorrowPriColor - Color of a task due tomorrow if that task is prioritized
31+
- overdueColor - Color of a task that is overdue
32+
- overduePriColor - Color of a task that is overdue if that task is prioritized
33+
- otherDue - Color of a task that is not today, tomorrow or overdue
34+
- otherDuePriColor - Color of a task that is not today, tomorrow or overdue if the task is prioritized
35+
- taskTextColor - Color of task text
36+
- taskTextProjectWordColor - Color of project names in task text
37+
- taskTextTagWordColor - Color of tags in task text
38+
- taskTextPriColor - Color of task text if the task is prioritized
39+
- taskTextProjectPriWordColor - Color of project names in task text if that task is prioritized
40+
- taskTextTagWordPriColor - Color of tags in task text if that task is prioritized
41+
- Color - The color to be used. Valid colors are:
42+
- black
43+
- red
44+
- green
45+
- yellow
46+
- blue
47+
- magenta
48+
- cyan
49+
- white
50+
- Bold = true or false
51+
52+
## Theme File Column Ordering Structure (not yet implemented):
53+
I am working on people being able to specify what order the columns are displayed when using 'redovc list'. These will be contained in the theme file as well.
54+
55+
Currently, the json looks like this:
56+
```
57+
"Columns":
58+
[
59+
{
60+
"desc": "Task ID",
61+
"columnname": "id",
62+
"index":0
63+
},
64+
{
65+
"desc": "Completed column",
66+
"columnname": "completed",
67+
"index":1
68+
},
69+
{
70+
"desc": "Information - Priority, Note and Archived flags",
71+
"columnname": "information",
72+
"index":2
73+
},
74+
{
75+
"desc": "Task Due date",
76+
"columnname": "due",
77+
"index":3
78+
},
79+
{
80+
"desc": "Task status",
81+
"columnname": "status",
82+
"index":4
83+
},
84+
{
85+
"desc": "Task subject",
86+
"columnname": "subject",
87+
"index":5
88+
}
89+
],
90+
```

redovc_docs/mkdocs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ site_url: https://redo.vc/
44
nav:
55
- Home: index.md
66
- Usage: usage.md
7+
- Theming: theming.md
78
- On GitHub: https://github.com/sottey/redo.vc
89

redovc_docs/site/404.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="/usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="/theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

redovc_docs/site/commands/add/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="../../usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="../../theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

redovc_docs/site/commands/addnote/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="../../usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="../../theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

redovc_docs/site/commands/archive/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="../../usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="../../theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

redovc_docs/site/commands/complete/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="../../usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="../../theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

redovc_docs/site/commands/completion/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="../../usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="../../theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

redovc_docs/site/commands/delete/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="../../usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="../../theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

redovc_docs/site/commands/deletenote/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="../../usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="../../theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

redovc_docs/site/commands/edit/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="../../usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="../../theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

redovc_docs/site/commands/editnote/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="../../usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="../../theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

redovc_docs/site/commands/export/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="../../usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="../../theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

redovc_docs/site/commands/help/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="../../usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="../../theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

redovc_docs/site/commands/init/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="../../usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="../../theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

redovc_docs/site/commands/list/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="../../usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="../../theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

redovc_docs/site/commands/prioritize/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="../../usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="../../theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

redovc_docs/site/commands/status/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="../../usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="../../theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

redovc_docs/site/commands/unarchive/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="../../usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="../../theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

redovc_docs/site/commands/uncomplete/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="../../usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="../../theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

redovc_docs/site/commands/unprioritize/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="../../usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="../../theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

redovc_docs/site/commands/version/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<li class="navitem">
3737
<a href="../../usage/" class="nav-link">Usage</a>
3838
</li>
39+
<li class="navitem">
40+
<a href="../../theming/" class="nav-link">Theming</a>
41+
</li>
3942
<li class="navitem">
4043
<a href="https://github.com/sottey/redo.vc" class="nav-link">On GitHub</a>
4144
</li>

0 commit comments

Comments
 (0)