From d336da7c9bc9e2086ddb98b68030ddc50fa34c0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Marschollek?= Date: Sun, 23 Oct 2022 18:39:28 +0200 Subject: [PATCH] Add universal action, hotkeys as triggers Adds keyboard hotkeys to trigger the workflow for the current selection or the clipboard contents. Also adds a universal action trigger if the selection is text (as opposed to file or URL). The keyboard shortcuts are not part of the `info.plist` and even if they were, they would be ignored when imported. Relates to: #12 --- assets/info.plist | 169 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 157 insertions(+), 12 deletions(-) diff --git a/assets/info.plist b/assets/info.plist index 1e0add2..b8a6874 100644 --- a/assets/info.plist +++ b/assets/info.plist @@ -6,6 +6,19 @@ universal.dict.cc connections + 1F149DD5-76CD-4ABE-81F4-2EF6FEDF2EC3 + + + destinationuid + 230B7E17-DE58-409D-821F-A8F7228E7B6D + modifiers + 0 + modifiersubtext + + vitoclose + + + 230B7E17-DE58-409D-821F-A8F7228E7B6D @@ -49,6 +62,32 @@ + 5FA0111C-4F93-4183-8AD5-73496AC4C857 + + + destinationuid + 230B7E17-DE58-409D-821F-A8F7228E7B6D + modifiers + 0 + modifiersubtext + + vitoclose + + + + AAF93BF2-1C2C-4D19-933F-5B3A07747BD2 + + + destinationuid + 230B7E17-DE58-409D-821F-A8F7228E7B6D + modifiers + 0 + modifiersubtext + + vitoclose + + + createdby Dennis Trautwein @@ -79,6 +118,37 @@ version 3 + + config + + action + 0 + argument + 1 + focusedappvariable + + focusedappvariablename + + hotkey + 0 + hotmod + 0 + hotstring + + leftcursor + + modsmode + 0 + relatedAppsMode + 0 + + type + alfred.workflow.trigger.hotkey + uid + AAF93BF2-1C2C-4D19-933F-5B3A07747BD2 + version + 2 + config @@ -156,6 +226,27 @@ fi version 3 + + config + + acceptsfiles + + acceptsmulti + 0 + acceptstext + + acceptsurls + + name + Translate + + type + alfred.workflow.trigger.universalaction + uid + 5FA0111C-4F93-4183-8AD5-73496AC4C857 + version + 1 + config @@ -175,6 +266,37 @@ fi version 1 + + config + + action + 0 + argument + 2 + focusedappvariable + + focusedappvariablename + + hotkey + 0 + hotmod + 0 + hotstring + + leftcursor + + modsmode + 0 + relatedAppsMode + 0 + + type + alfred.workflow.trigger.hotkey + uid + 1F149DD5-76CD-4ABE-81F4-2EF6FEDF2EC3 + version + 2 + config @@ -207,45 +329,68 @@ https://www.buymeacoffee.com/dennistra 177877D7-B9C6-4769-B88B-D310CE841A9C xpos - 510 + 510 ypos - 540 + 540 + + 1F149DD5-76CD-4ABE-81F4-2EF6FEDF2EC3 + + xpos + 50 + ypos + 490 230B7E17-DE58-409D-821F-A8F7228E7B6D xpos - 240 + 240 + ypos + 360 + + 5FA0111C-4F93-4183-8AD5-73496AC4C857 + + xpos + 50 ypos - 360 + 365 64D310B5-3CCA-4CC5-B216-B8D58A59C070 xpos - 510 + 510 ypos - 300 + 300 + + AAF93BF2-1C2C-4D19-933F-5B3A07747BD2 + + xpos + 45 + ypos + 235 BD993DCC-6A60-4320-903E-EF147BC55589 xpos - 510 + 510 ypos - 180 + 180 F1000F74-5759-4CCD-9340-87037FA12234 xpos - 510 + 510 ypos - 420 + 420 + userconfigurationconfig + variables from_language - + de to_language - + en variablesdontexport