diff --git a/taskwarrior/.config/task/taskopenrc b/taskwarrior/.config/task/taskopenrc index 04163ee..c1dd7ac 100644 --- a/taskwarrior/.config/task/taskopenrc +++ b/taskwarrior/.config/task/taskopenrc @@ -4,8 +4,14 @@ taskbin = task path_ext = /usr/share/taskopen/scripts [Actions] -notes.regex = "Note" +note_custom_ext.regex = "^Note\\.(.*)" +note_custom_ext.command = "$EDITOR ${XDG_DATA_HOME:-~/.local/share}/task/notes/$UUID.$LAST_MATCH" + +notes.regex = "^Note" notes.command = "$EDITOR ${XDG_DATA_HOME:-~/.local/share}/task/notes/$UUID.md" +links.regex = "^https?://" +links.command = "xdg-open $FILE" + [CLI]