taskwarrior: Update config for taskopen 2.0 format
Updated the formatting of the taskopen configuration file to conform to its new display. Updated the xdg-conforming `taskopen` alias to use long-form option since the short-form option seems bugged at the moment.
This commit is contained in:
parent
a4f202184f
commit
5c41b2e13c
2 changed files with 8 additions and 69 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
alias taskopen='taskopen -c ${XDG_CONFIG_HOME:-~/.config}/task/taskopenrc'
|
alias taskopen='taskopen --config=${XDG_CONFIG_HOME:-~/.config}/task/taskopenrc'
|
||||||
|
|
||||||
# invoking t starts the task shell
|
# invoking t starts the task shell
|
||||||
# passing arguments along passes them straight through to taskwarrior instead
|
# passing arguments along passes them straight through to taskwarrior instead
|
||||||
|
|
|
@ -1,71 +1,10 @@
|
||||||
#BROWSER='xdg-open $FILE &>/dev/null'
|
[General]
|
||||||
#EDITOR='vim'
|
taskbin = task
|
||||||
#FILE_CMD='xdg-open'
|
path_ext = /usr/share/taskopen/scripts
|
||||||
TASKBIN='task'
|
|
||||||
|
|
||||||
# If you sync tasks NOTES_FOLDER should be a location that syncs and is available to
|
[Actions]
|
||||||
# other computers, i.e. /users/dropbox/tasknotes
|
notes.regex = "Note"
|
||||||
# NOTES_FOLDER to store notes in, must already exist!
|
notes.command = "$EDITOR ${XDG_DATA_HOME:-~/.local/share}/task/notes/$UUID.txt"
|
||||||
NOTES_FOLDER="$XDG_DATA_HOME/task/notes/"
|
|
||||||
|
|
||||||
# Preferred extension for tasknotes
|
[CLI]
|
||||||
NOTES_EXT=".md"
|
|
||||||
|
|
||||||
# Path to notes file. UUID will be replaced with the actual uuid of
|
|
||||||
# the task. If NOTES_CMD
|
|
||||||
# Default is: ${NOTES_FOLDER}UUID${NOTES_EXT}
|
|
||||||
#NOTES_FILE="$HOME/tasknotes/UUID.txt"
|
|
||||||
|
|
||||||
# Command that opens notes. UUID will be replaced with the actual uuid of
|
|
||||||
# the task.
|
|
||||||
# Default is: $EDITOR $NOTES_FILE
|
|
||||||
#NOTES_CMD="vim "$HOME/tasknotes/$UUID.txt""
|
|
||||||
|
|
||||||
# Specify the default sorting.
|
|
||||||
# Default is taskwarrior's default sorting, i.e. sorting by task IDs.
|
|
||||||
#DEFAULT_SORT="urgency-,label,annot"
|
|
||||||
|
|
||||||
# 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="Note"
|
|
||||||
|
|
||||||
# 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=""
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue