diff --git a/Linkwarden Search.alfredworkflow b/Linkwarden Search.alfredworkflow index 56b29fb..99ebe45 100644 Binary files a/Linkwarden Search.alfredworkflow and b/Linkwarden Search.alfredworkflow differ diff --git a/README.md b/README.md index d498778..89f48ce 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,12 @@ Search linkwarden from alfred. -Usage: lw {query} +[Download Here](https://github.com/deafmute1/alfred-linkwarden/releases/latest/download/Linkwarden.Search.alfredworkflow) + +## Usage +You can search all links with the default keyword, `lw {query}` + +You can search within a collection/show all items in collection ordered by date added by adding a custom keyword. An example is given in the workflow object. You need to create a `Script Filter` object, and add `bash ./helper.sh collection 16 "$@"` as the script value, where `16` is the specific collection id. You can retrieve this id by looking at the url of a collection when it is open in your browse, it will be the final value in the path. -[Download Here](https://github.com/deafmute1/alfred-linkwarden/releases/download/1.0/Linkwarden.Search.alfredworkflow) TODO - Add options to action url in other browser, incognito etc. diff --git a/workflow/info.plist b/workflow/info.plist index bc2f024..25d1b50 100644 --- a/workflow/info.plist +++ b/workflow/info.plist @@ -8,6 +8,19 @@ Internet connections + 885ABB2A-0C8E-48AC-831A-EC862F9BA401 + + + destinationuid + 126EF3B6-E7CB-4C32-BB88-B7CAF26DAFA5 + modifiers + 0 + modifiersubtext + + vitoclose + + + C3938C43-F374-46D7-9C55-3200430ED8C3 @@ -60,7 +73,7 @@ runningsubtext script - bash ./helper.sh "$@" + bash ./helper.sh link "$@" scriptargtype 1 scriptfile @@ -102,11 +115,61 @@ version 1 + + config + + alfredfiltersresults + + alfredfiltersresultsmatchmode + 0 + argumenttreatemptyqueryasnil + + argumenttrimmode + 0 + argumenttype + 1 + escaping + 102 + queuedelaycustom + 3 + queuedelayimmediatelyinitially + + queuedelaymode + 0 + queuemode + 1 + runningsubtext + + script + bash ./helper.sh collection 16 "$@" + scriptargtype + 1 + scriptfile + + subtext + + title + + type + 11 + withspace + + + type + alfred.workflow.input.scriptfilter + uid + 885ABB2A-0C8E-48AC-831A-EC862F9BA401 + version + 3 + readme - Search linkwarden! + Search linkwarden from alfred. -USAGE: lw <query> +## Usage +You can search all links with the default keyword, `lw {query}` + +You can search within a collection/show all items in collection ordered by date added by adding a custom keyword. An example is given in the workflow object. You need to create a `Script Filter` object, and add `bash ./helper.sh collection 16 "$@"` as the script value, where `16` is the specific collection id. You can retrieve this id by looking at the url of a collection when it is open in your browse, it will be the final value in the path. uidata 126EF3B6-E7CB-4C32-BB88-B7CAF26DAFA5 @@ -116,6 +179,15 @@ USAGE: lw <query> ypos 105 + 885ABB2A-0C8E-48AC-831A-EC862F9BA401 + + note + Search a specific collection with a keyword + xpos + 95 + ypos + 230 + C3938C43-F374-46D7-9C55-3200430ED8C3 xpos @@ -172,7 +244,7 @@ USAGE: lw <query> variablesdontexport version - 1.0 + 1.2 webaddress