diff options
author | Matthew Lemon <y@yulqen.org> | 2024-04-08 08:27:36 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-04-08 08:27:36 +0100 |
commit | 28c76175359f46762df9bdc5b454ab2c8af8fdd8 (patch) | |
tree | 72dd219bbd02665aed9101e10a22e88f1e33a359 | |
parent | 969536fd869e74e301f98ae9982dcf9da51b8b14 (diff) |
Adds taskopenrc
-rw-r--r-- | taskopenrc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/taskopenrc b/taskopenrc new file mode 100644 index 0000000..db442c8 --- /dev/null +++ b/taskopenrc @@ -0,0 +1,25 @@ +[General] +taskbin=task +taskargs +no_annotation_hook="addnote $ID" +task_attributes="priority,project,tags,description" +--sort:"urgency-,annot" +--active-tasks:"+PENDING" +EDITOR=vim +path_ext=/usr/share/taskopen/scripts +[Actions] +files.target=annotations +files.labelregex=".*" +files.regex="^[\\.\\/~]+.*\\.(.*)" +files.command="xdg-open $FILE" +files.modes="batch,any,normal" +notes.target=annotations +notes.labelregex=".*" +notes.regex="^Notes(\\..*)?" +notes.command="""editnote ~/Documents/tasknotes/$UUID$LAST_MATCH "$TASK_DESCRIPTION" $UUID""" +notes.modes="batch,any,normal" +url.target=annotations +url.labelregex=".*" +url.regex="((?:www|http).*)" +url.command="xdg-open $LAST_MATCH" +url.modes="batch,any,normal" |