alfred-github-gists
alfred-github-gists copied to clipboard
search should search the description and the filename
Love this workflow thanks.
I have had to change my workflow slightly as I pretty much never give my gists a filename, but pretty much always have a description.
Using your screenshot here as an example, if I search for "API" then I would expect the curl.md to be filtered and be the only one showing. Or if I search for password I would expect pdf.md item to be selected.
At the moment only the title is filterable.
Making sense?
What I changed (for now) is to swap around the title and subtitle in the code block below, but that will be wiped out on each upgrade so maybe you have a better, or configurable way to implement this.
alfreditems['items'].append({
"mysortkey": mysortkey,
"uid": title,
"title": description,
"subtitle": title,
"autocomplete": description,
"arg": url,
"icon": {
"path": icon
}
})
