From 700a3d1369c07553cfc73d7b9024b8a2f6b2a784 Mon Sep 17 00:00:00 2001 From: Nikita Voloboev Date: Wed, 18 Oct 2017 00:15:03 +0200 Subject: [PATCH] new version --- workflow/info.plist | 286 ++++++++++++++++++++++++++++++-------------- workflow/replace.sh | 3 - 2 files changed, 197 insertions(+), 92 deletions(-) delete mode 100644 workflow/replace.sh diff --git a/workflow/info.plist b/workflow/info.plist index 8b1b7c3..1ced1f0 100644 --- a/workflow/info.plist +++ b/workflow/info.plist @@ -21,11 +21,11 @@ - 12976163-3ECA-4242-AA2F-049100EE88ED + 14F1C35D-3003-4E57-B6FF-6C15CCA4000A destinationuid - 14F1C35D-3003-4E57-B6FF-6C15CCA4000A + 9B873AF1-35BA-49E8-B24D-12F7FABB9DDF modifiers 0 modifiersubtext @@ -33,14 +33,11 @@ vitoclose - - 14F1C35D-3003-4E57-B6FF-6C15CCA4000A - destinationuid - 9B873AF1-35BA-49E8-B24D-12F7FABB9DDF + A47BFDF6-6ACA-4962-926A-ED426EDFA5E2 modifiers - 0 + 524288 modifiersubtext vitoclose @@ -161,6 +158,19 @@ + A47BFDF6-6ACA-4962-926A-ED426EDFA5E2 + + + destinationuid + EED04421-505D-4F14-86D2-AF4664DD2602 + modifiers + 0 + modifiersubtext + + vitoclose + + + B7FC16DD-E9D4-42BD-BACA-959DDB472C21 @@ -214,7 +224,7 @@ destinationuid - 14F1C35D-3003-4E57-B6FF-6C15CCA4000A + F014583F-9C81-46BE-A6D9-B29BAC4A8204 modifiers 0 modifiersubtext @@ -262,6 +272,32 @@ + EED04421-505D-4F14-86D2-AF4664DD2602 + + + destinationuid + 4580C38E-414A-4A63-9835-C7687180DC03 + modifiers + 0 + modifiersubtext + + vitoclose + + + + F014583F-9C81-46BE-A6D9-B29BAC4A8204 + + + destinationuid + 14F1C35D-3003-4E57-B6FF-6C15CCA4000A + modifiers + 0 + modifiersubtext + + vitoclose + + + FA9A5CC0-97D9-41C2-84A6-8E3DD62803D0 @@ -373,6 +409,8 @@ 1 escaping 102 + keyword + web queuedelaycustom 3 queuedelayimmediatelyinitially @@ -392,7 +430,7 @@ subtext title - + search a website type 0 withspace @@ -408,31 +446,85 @@ config - action - 0 - argument + json + { + "alfredworkflow" : { + "arg" : "{query}", + "config" : { + "title" : "", + "runningsubtext" : "", + "subtext" : "" + }, + "variables" : { + } + } +} + + type + alfred.workflow.utility.json + uid + F014583F-9C81-46BE-A6D9-B29BAC4A8204 + version + 1 + + + config + + argumenttype 0 - focusedappvariable - - focusedappvariablename + subtext - hotkey - 0 - hotmod - 0 - hotstring + text + search {var:ARG} for {query} with chrome + withspace + + + type + alfred.workflow.input.keyword + uid + A47BFDF6-6ACA-4962-926A-ED426EDFA5E2 + version + 1 + + + config + + browser + com.google.Chrome + spaces - leftcursor + url + {query} + utf8 + + + type + alfred.workflow.action.openurl + uid + 4580C38E-414A-4A63-9835-C7687180DC03 + version + 1 + + + config + + concurrently - modsmode - 0 - relatedAppsMode + escaping + 102 + script + echo -n ${URL/tester/$1} + scriptargtype + 1 + scriptfile + + type 0 type - alfred.workflow.trigger.hotkey + alfred.workflow.action.script uid - 12976163-3ECA-4242-AA2F-049100EE88ED + EED04421-505D-4F14-86D2-AF4664DD2602 version 2 @@ -594,7 +686,7 @@ runningsubtext script - ./alfred-web-searches websites -q "$1" + ./alfred-web-searches search "$1" scriptargtype 1 scriptfile @@ -710,7 +802,7 @@ runningsubtext script - ./alfred-web-searches websites -q "$1" + ./alfred-web-searches search "$1" scriptargtype 1 scriptfile @@ -885,196 +977,212 @@ 0B629748-2068-4345-BA43-5772F37C3013 xpos - 700 + 640 ypos - 490 - - 12976163-3ECA-4242-AA2F-049100EE88ED - - xpos - 140 - ypos - 470 + 280 14F1C35D-3003-4E57-B6FF-6C15CCA4000A note search through any website xpos - 320 + 260 ypos - 370 + 70 23473198-D164-44C6-8808-4A8F93A6791C xpos - 1100 + 1020 ypos - 1200 + 680 23A8F1A5-6183-4943-84D2-D9E7B9DA9A72 note if you ⌃ + ⏎ on reddit searches, it lets you scope search to most recent xpos - 510 + 450 ypos - 490 + 280 25640D91-BD2C-434C-8EA4-58A0910139D1 xpos - 860 + 780 ypos - 1000 + 480 30363A54-691F-4C41-8BB7-775A8D39897E xpos - 690 + 610 ypos - 1000 + 480 311CADC9-01B1-4DFD-8625-A41B6D1A72F4 xpos - 890 + 830 ypos - 490 + 280 35851EE6-88B6-4D0C-9EDB-F0BFA70BB8CE xpos - 480 + 400 ypos - 1000 + 480 44998311-C8A5-4011-AAE6-6A13032F27CE xpos - 320 + 240 ypos - 1490 + 970 + + 4580C38E-414A-4A63-9835-C7687180DC03 + + xpos + 830 + ypos + 140 4BF449D5-9697-4E10-A810-5005F0720FC7 xpos - 380 + 300 ypos - 1030 + 510 5CF1F7E8-057F-4F60-9028-95DE18487EE8 xpos - 370 + 290 ypos - 1340 + 820 87300B30-01BD-4E56-9FDC-DE6B018FFB13 xpos - 550 + 470 ypos - 1230 + 710 8BD35783-7FBB-4EF3-99B6-81683B970D8C xpos - 720 + 640 ypos - 1200 + 680 8E596155-99EA-4741-93A6-2F044D5AA0CB xpos - 310 + 230 ypos - 1030 + 510 9B873AF1-35BA-49E8-B24D-12F7FABB9DDF xpos - 520 + 460 ypos - 310 + 10 A16C9145-6939-48CC-8054-EF9FD220B697 xpos - 890 + 830 + ypos + 10 + + A47BFDF6-6ACA-4962-926A-ED426EDFA5E2 + + xpos + 460 ypos - 310 + 140 B7FC16DD-E9D4-42BD-BACA-959DDB472C21 note add more searchable websites to GitHub list xpos - 140 + 60 ypos - 1490 + 970 C2F200AE-7909-4604-9E4A-3AA8998FB3E3 note this will take the selected text and then allow you to edit it and then search it on any of the websites available xpos - 140 + 60 ypos - 1230 + 710 C94BCEFA-1DEE-4E57-AADB-25226571390C xpos - 700 + 640 ypos - 310 + 10 DA146CA4-790E-4E92-9EDD-61BDC877DFF8 xpos - 140 + 10 ypos - 340 + 70 DD325779-BAE8-47FC-938B-8FC107AAF9D0 note this will take the selected text and then allow you to search it on any of the websites available xpos - 140 + 60 ypos - 1000 + 480 E64FE037-5BDA-41B1-9D90-EEE5BAE54551 xpos - 620 + 540 ypos - 1230 + 710 EDE5299D-A193-48A9-89FE-C3444151206B xpos - 350 + 270 ypos - 1200 + 680 + + EED04421-505D-4F14-86D2-AF4664DD2602 + + xpos + 640 + ypos + 140 + + F014583F-9C81-46BE-A6D9-B29BAC4A8204 + + xpos + 170 + ypos + 100 FA9A5CC0-97D9-41C2-84A6-8E3DD62803D0 xpos - 930 + 850 ypos - 1200 + 680 - variables - - picked - - version - 2.0 + 2.2.4 webaddress https://github.com/nikitavoloboev/alfred-web-searches diff --git a/workflow/replace.sh b/workflow/replace.sh deleted file mode 100644 index 0e41612..0000000 --- a/workflow/replace.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -sed 's/{query}/tester/g' websites.csv > tempfile && mv tempfile websites.csv