From 3ef2c9e58d6b9096661aa5853d7d53986e1ccf12 Mon Sep 17 00:00:00 2001 From: Alex Kelly Date: Mon, 30 Jan 2023 16:43:38 -0500 Subject: [PATCH 1/2] remove joplin uda, just use annotations. --- dot_config/task/taskrc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dot_config/task/taskrc b/dot_config/task/taskrc index a55695a..a78c25c 100644 --- a/dot_config/task/taskrc +++ b/dot_config/task/taskrc @@ -69,9 +69,6 @@ uda.reviewed.label=Reviewed uda.messageid.type=string uda.messageid.label=Message-ID -uda.joplin.type=string -uda.joplin.label=Joplin - uda.status_report.type=string uda.status_report.label=status_report uda.status_report.values=display,hide @@ -95,3 +92,4 @@ context.home.write=+home include ~/.config/task/intheam #include ~/.config/task/wingtask +context=work From 66d888a362a6ec545f9af17df545c01580258a54 Mon Sep 17 00:00:00 2001 From: Alex Kelly Date: Mon, 30 Jan 2023 16:44:16 -0500 Subject: [PATCH 2/2] add joplin and thunderlink handlers --- dot_taskopenrc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dot_taskopenrc b/dot_taskopenrc index e8d84b9..1835791 100644 --- a/dot_taskopenrc +++ b/dot_taskopenrc @@ -11,7 +11,7 @@ path_ext=/usr/local/share/taskopen/scripts files.target=annotations files.labelregex=".*" files.regex="^[\\.\\/~]+.*\\.(.*)" -files.command="xdg-open $FILE" +files.command="/usr/bin/xdg-open $FILE" files.modes="batch,any,normal" notes.target=annotations notes.labelregex=".*" @@ -21,8 +21,9 @@ notes.modes="batch,any,normal" url.target=annotations url.labelregex=".*" url.regex="((?:www|http).*)" -url.command="xdg-open $LAST_MATCH" +url.command="/usr/bin/xdg-open $LAST_MATCH" url.modes="batch,any,normal" -joplin.target=joplin -joplin.regex=".*" +thunderlink.regex="(cb)?thunderlink:.*" +thunderlink.command="/usr/bin/xdg-open $LAST_MATCH" +joplin.regex="jolin:.*" joplin.command="/home/kellya/.joplin/Joplin.AppImage $TASK_JOPLIN"