Skip to content

Commit

Permalink
Integrate taskopen
Browse files Browse the repository at this point in the history
Integrated taskopen (1) by adding

* the main `.taskopenrc` configuration file (2)
* aliases to simply add notes (`an`) and open (`o`) task notes / annotations

References:

  (1) https://github.com/ValiValpas/taskopen
  (2) https://github.com/ValiValpas/taskopen#configuration

Closes GH-110
  • Loading branch information
arcticicestudio committed Apr 8, 2018
1 parent 15688f3 commit 759fdc6
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
7 changes: 7 additions & 0 deletions snowblocks/taskwarrior/snowblock.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
"igloo": "taskrc"
}
},
"~/.taskopenrc": {
"force": true,
"hosts": {
"archbook": "taskopenrc",
"igloo": "taskopenrc"
}
},
"~/.task/nord.theme": {
"create": true,
"force": true,
Expand Down
19 changes: 19 additions & 0 deletions snowblocks/taskwarrior/taskopenrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright (c) 2016-present Arctic Ice Studio <development@arcticicestudio.com>
# Copyright (c) 2016-present Sven Greb <code@svengreb.de>

# Project: igloo
# Repository: https://github.com/arcticicestudio/igloo
# License: MIT
# References:
# https://github.com/ValiValpas/taskopen
# taskopenrc(5)
# taskopen(1)

#+------+
#+ Core +
#+------+
NOTES_FOLDER="~/.task/notes/"
NOTES_EXT=".md"
NOTES_CMD="atom --add ~/.task/notes/$UUID.md"

PATH_EXT=/usr/share/taskopen/scripts
4 changes: 3 additions & 1 deletion snowblocks/taskwarrior/taskrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# https://taskwarrior.org/docs
# https://taskwarrior.org/docs/terminology.html#regex
# taskrc(5)
# task-sync(5)
# task(1)
# https://en.wikibooks.org/wiki/Regular_Expressions/POSIX-Extended_Regular_Expressions

#+------+
Expand Down Expand Up @@ -79,8 +79,10 @@ report.stat.sort=start-,due+,project+,urgency-
#+ Aliases +
#+---------+
alias.a=add
alias.an=annotate -- Notes
alias.bd=burndown.daily
alias.cx=context
alias.e=edit
alias.ls=list
alias.mod=modify
alias.o=execute taskopen

0 comments on commit 759fdc6

Please sign in to comment.