diff --git a/Package Managers.alfredworkflow b/Package Managers.alfredworkflow index 84bcc76..139e09d 100644 Binary files a/Package Managers.alfredworkflow and b/Package Managers.alfredworkflow differ diff --git a/README.md b/README.md index c909b0e..f25779f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Package Managers ([Download v3.12](https://github.com/willfarrell/alfred-pkgman-workflow/releases/download/3.12/Package.Managers.alfredworkflow)) +# Package Managers ([Download v3.13](https://github.com/willfarrell/alfred-pkgman-workflow/releases/download/3.13/Package.Managers.alfredworkflow)) Package Repo Search @@ -31,6 +31,7 @@ Quick package/plugin/component (repo) lookup for your favourite package managers * `pypi {query}`: [Python Packages](https://pypi.python.org) * `raspbian {query}`: [Rasberry Pi Packages](http://www.raspbian.org) * `rpm {query}`: [Linux Packages](http://rpmfind.net) +* `st {query}`: [Sublime Text Packages](https://packagecontrol.io) * `yo {query}`: [Yeoman Generators](http://yeoman.io) ## Action Modifiers @@ -68,6 +69,7 @@ The Python Package Index is very slow due to a lack on API and pagination. A min ![][chef] ![][apm] ![][hex] +![][st] Featured on [Smashing Magazine](http://www.smashingmagazine.com/2013/10/25/hidden-productivity-secrets-with-alfred/) @@ -89,4 +91,5 @@ Featured on [Smashing Magazine](http://www.smashingmagazine.com/2013/10/25/hidde [pear]: ./screenshots/pear.png "Sample pear result" [pypi]: ./screenshots/pypi.png "Sample pypi result" [rpm]: ./screenshots/rpm.png "Sample rpm result" +[st]: ./screenshots/stpm.png "Sample stpm result" [yo]: ./screenshots/yo.png "Sample yo result" diff --git a/icon-cache/stpm.png b/icon-cache/stpm.png new file mode 100644 index 0000000..b62b8c1 Binary files /dev/null and b/icon-cache/stpm.png differ diff --git a/icon-src/stpm.png b/icon-src/stpm.png new file mode 100644 index 0000000..b62b8c1 Binary files /dev/null and b/icon-src/stpm.png differ diff --git a/screenshots/stpm.png b/screenshots/stpm.png new file mode 100644 index 0000000..af349be Binary files /dev/null and b/screenshots/stpm.png differ diff --git a/src/Stpm.php b/src/Stpm.php new file mode 100644 index 0000000..fe47835 --- /dev/null +++ b/src/Stpm.php @@ -0,0 +1,68 @@ +hasMinQueryLength($query)) { + return $this->xml(); + } + + $data = $this->cache->get_query_regex( + $this->id, + $query, + "{$this->search_url}{$query}", + '/