Compare commits

..

No commits in common. "8adb72ab1e699a863fe3e97840b69955fb28a156" and "b05904f42417b618864ceeead03976956c8b9698" have entirely different histories.

2 changed files with 76 additions and 29 deletions

View file

@ -66,6 +66,9 @@ report.simple.filter=status:pending
uda.reviewed.type=date uda.reviewed.type=date
uda.reviewed.label=Reviewed uda.reviewed.label=Reviewed
uda.evernote.type=string
uda.evernote.label=Evernote
uda.messageid.type=string uda.messageid.type=string
uda.messageid.label=Message-ID uda.messageid.label=Message-ID

View file

@ -1,29 +1,73 @@
[General]
taskbin=task #BROWSER='xdg-open $FILE &>/dev/null'
taskargs #EDITOR='vim'
no_annotation_hook="addnote $ID" #FILE_CMD='xdg-open'
task_attributes="priority,project,tags,description,joplin" TASKBIN='task'
--sort:"urgency-,annot"
--active-tasks:"+PENDING" # If you sync tasks NOTES_FOLDER should be a location that syncs and is available to
--debug # other computers, i.e. /users/dropbox/tasknotes
EDITOR=nvim # NOTES_FOLDER to store notes in, must already exist!
path_ext=/usr/local/share/taskopen/scripts NOTES_FOLDER="$HOME/tasknotes/"
[Actions]
files.target=annotations # Preferred extension for tasknotes
files.labelregex=".*" NOTES_EXT=".txt"
files.regex="^[\\.\\/~]+.*\\.(.*)"
files.command="xdg-open $FILE" # Path to notes file. UUID will be replaced with the actual uuid of
files.modes="batch,any,normal" # the task. If NOTES_CMD
notes.target=annotations # Default is: ${NOTES_FOLDER}UUID${NOTES_EXT}
notes.labelregex=".*" #NOTES_FILE="$HOME/tasknotes/UUID.txt"
notes.regex="^Notes(\\..*)?"
notes.command="""editnote ~/Notes/tasknotes/$UUID$LAST_MATCH "$TASK_DESCRIPTION" $UUID""" # Command that opens notes. UUID will be replaced with the actual uuid of
notes.modes="batch,any,normal" # the task.
url.target=annotations # Default is: $EDITOR $NOTES_FILE
url.labelregex=".*" #NOTES_CMD="vim "$HOME/tasknotes/$UUID.txt""
url.regex="((?:www|http).*)"
url.command="xdg-open $LAST_MATCH" # Specify the default sorting.
url.modes="batch,any,normal" # Default is taskwarrior's default sorting, i.e. sorting by task IDs.
joplin.target=joplin #DEFAULT_SORT="urgency-,label,annot"
joplin.regex=".*"
joplin.command="/home/kellya/.joplin/Joplin.AppImage $TASK_JOPLIN" # Apply a default taskwarrior filter in order to exclude certain tasks.
# Default is: status.is:pending
#DEFAULT_FILTER=
# Default command for '-i'
# Default is: ls -la
#DEFAULT-i="ls -la"
# Add some paths to the taskopen's PATH variable
#PATH_EXT=/path/to/taskopen/scripts
PATH_EXT=/usr/share/taskopen/scripts
# Regular expression that referes to the NOTES_FILE.
# Default is: Notes
#NOTES_REGEX="Notes"
# Regular expression that identifies annotations openable by BROWSER.
# Default is: www|http
#BROWSER_REGEX="www|http"
# Regular expression that identifies file paths in annotations. Will be opened by xdg-open.
# Default is: \.|\/|~
#FILE_REGEX="\.|\/|~"
# Regular expression that identifies a text annotation. Automatically triggers raw edit mode like '-r'.
#TEXT_REGEX=".*"
# Custom regular expression that specifies annotations passed to CUSTOM1_CMD, e.g:
#CUSTOM1_REGEX="Message-[Ii][Dd]:|message:"
#CUSTOM1_CMD="muttjumpwrapper"
# Custom regular expression that specifies annotations passed to CUSTOM2_CMD.
#CUSTOM2_REGEX=""
#CUSTOM2_CMD=""
# Execute an arbitrary command if there is no annotation available. The corresponding taskwarrior IDs will
# be passed as arguments, e.g. "addnote 21 42"
#NO_ANNOTATION_HOOK=addnote
# Make additional taskwarrior attributes available as sort keys and environment variables.
# E.g. TASK_ATTRIBUTES="project,tags" allows to sort by "task_project" or "task_tags" and to use
# "$TASK_PROJECT" or "$TASK_TAGS" within your (custom) commands.
#TASK_ATTRIBUTES=""
CUSTOM1_REGEX="^cbthunderlink:.*"
CUSTOM1_CMD="/usr/bin/xdg-open"