From a82c3adc2f50db6148d8201c26ab615deee813ab Mon Sep 17 00:00:00 2001 From: Yuri Mazursky Date: Fri, 19 May 2023 09:55:03 +0200 Subject: [PATCH] set default pomodoro to 25 mins + minor tweaks (#4) --- info.plist | 90 ++++++++++++++++++++++++-------------------------- parse_input.js | 1 + 2 files changed, 45 insertions(+), 46 deletions(-) diff --git a/info.plist b/info.plist index eb70184..7338375 100644 --- a/info.plist +++ b/info.plist @@ -427,14 +427,14 @@ function run(argv) { variables - timer_seconds + timer_message {query} type alfred.workflow.utility.argument uid - F596D83C-3346-449D-9BCA-3191EE4113AA + 5EADE272-1C98-4269-AA31-CEE35511AEA3 version 1 @@ -447,14 +447,14 @@ function run(argv) { variables - timer_message + timer_seconds {query} type alfred.workflow.utility.argument uid - 5EADE272-1C98-4269-AA31-CEE35511AEA3 + F596D83C-3346-449D-9BCA-3191EE4113AA version 1 @@ -554,18 +554,14 @@ function run(argv) { variables - duration_input - {var:pomodoro_duration}m - timer_is_pomodoro - 1 - timer_message - Pomodoro timer finished! + timer_seconds + {query} type alfred.workflow.utility.argument uid - 4EBB0702-3B74-4BBB-9E58-0CD315797E7A + 2B80824F-8439-4A1A-AE8E-83DB7260FDEA version 1 @@ -578,48 +574,52 @@ function run(argv) { variables - timer_seconds - {query} + duration_input + {var:pomodoro_duration}m + timer_is_pomodoro + 1 + timer_message + Pomodoro timer finished! type alfred.workflow.utility.argument uid - 2B80824F-8439-4A1A-AE8E-83DB7260FDEA + 4EBB0702-3B74-4BBB-9E58-0CD315797E7A version 1 config - availableviaurlhandler + externaltriggerid + show_message + passinputasargument + + passvariables - triggerid - start_timer + workflowbundleid + self type - alfred.workflow.trigger.external + alfred.workflow.output.callexternaltrigger uid - 2CD78571-C416-465E-A9F7-E785A96FD7EB + E50C07BD-6CB3-43F5-AEC6-5CCEA6B7180A version 1 config - externaltriggerid - show_message - passinputasargument - - passvariables + availableviaurlhandler - workflowbundleid - self + triggerid + start_timer type - alfred.workflow.output.callexternaltrigger + alfred.workflow.trigger.external uid - E50C07BD-6CB3-43F5-AEC6-5CCEA6B7180A + 2CD78571-C416-465E-A9F7-E785A96FD7EB version 1 @@ -697,6 +697,21 @@ function run(argv) { version 1 + + config + + availableviaurlhandler + + triggerid + show_message + + type + alfred.workflow.trigger.external + uid + D4E7636D-BD88-4389-B968-F1B9A60D8977 + version + 1 + config @@ -726,21 +741,6 @@ function run(argv) { version 3 - - config - - availableviaurlhandler - - triggerid - show_message - - type - alfred.workflow.trigger.external - uid - D4E7636D-BD88-4389-B968-F1B9A60D8977 - version - 1 - config @@ -994,7 +994,7 @@ function run(argv) { config default - 15 + 25 pairs @@ -1029,8 +1029,6 @@ function run(argv) { pomodoro_duration - variablesdontexport - version 1.0.2 webaddress diff --git a/parse_input.js b/parse_input.js index cf1d94f..b847d2a 100755 --- a/parse_input.js +++ b/parse_input.js @@ -153,6 +153,7 @@ function run(argv) { } return JSON.stringify({ + rerun: 1, items, }); }