Compare commits

...

2 commits

2 changed files with 29 additions and 76 deletions

View file

@ -66,9 +66,6 @@ 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,73 +1,29 @@
[General]
#BROWSER='xdg-open $FILE &>/dev/null' taskbin=task
#EDITOR='vim' taskargs
#FILE_CMD='xdg-open' no_annotation_hook="addnote $ID"
TASKBIN='task' task_attributes="priority,project,tags,description,joplin"
--sort:"urgency-,annot"
# If you sync tasks NOTES_FOLDER should be a location that syncs and is available to --active-tasks:"+PENDING"
# other computers, i.e. /users/dropbox/tasknotes --debug
# NOTES_FOLDER to store notes in, must already exist! EDITOR=nvim
NOTES_FOLDER="$HOME/tasknotes/" path_ext=/usr/local/share/taskopen/scripts
[Actions]
# Preferred extension for tasknotes files.target=annotations
NOTES_EXT=".txt" files.labelregex=".*"
files.regex="^[\\.\\/~]+.*\\.(.*)"
# Path to notes file. UUID will be replaced with the actual uuid of files.command="xdg-open $FILE"
# the task. If NOTES_CMD files.modes="batch,any,normal"
# Default is: ${NOTES_FOLDER}UUID${NOTES_EXT} notes.target=annotations
#NOTES_FILE="$HOME/tasknotes/UUID.txt" notes.labelregex=".*"
notes.regex="^Notes(\\..*)?"
# Command that opens notes. UUID will be replaced with the actual uuid of notes.command="""editnote ~/Notes/tasknotes/$UUID$LAST_MATCH "$TASK_DESCRIPTION" $UUID"""
# the task. notes.modes="batch,any,normal"
# Default is: $EDITOR $NOTES_FILE url.target=annotations
#NOTES_CMD="vim "$HOME/tasknotes/$UUID.txt"" url.labelregex=".*"
url.regex="((?:www|http).*)"
# Specify the default sorting. url.command="xdg-open $LAST_MATCH"
# Default is taskwarrior's default sorting, i.e. sorting by task IDs. url.modes="batch,any,normal"
#DEFAULT_SORT="urgency-,label,annot" joplin.target=joplin
joplin.regex=".*"
# Apply a default taskwarrior filter in order to exclude certain tasks. joplin.command="/home/kellya/.joplin/Joplin.AppImage $TASK_JOPLIN"
# 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"