From eb843b084edeb9fbfe8d11c9d13e9cb5af7bc588 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Wed, 8 Oct 2008 12:40:33 +0200 Subject: Actions.Search: add a few search engines Add Debian {package, bug, tracking system} search engines, as well as Google Images and isohunt. darcs-hash:20081008104033-35915-a13f29b012ccf7cfc88c12ce28ff5369a3fa1157.gz --- XMonad/Actions/Search.hs | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'XMonad/Actions/Search.hs') diff --git a/XMonad/Actions/Search.hs b/XMonad/Actions/Search.hs index 3878969..65a6ddb 100644 --- a/XMonad/Actions/Search.hs +++ b/XMonad/Actions/Search.hs @@ -22,10 +22,15 @@ module XMonad.Actions.Search ( -- * Usage amazon, codesearch, + deb, + debbts, + debpts, dictionary, google, hoogle, + images, imdb, + isohunt, maps, mathworld, scholar, @@ -75,14 +80,24 @@ import XMonad.Util.XSelection (getSelection) * 'codesearch' -- Google Labs Code Search search. +* 'deb' -- Debian package search. + +* 'debbts' -- Debian Bug Tracking System. + +* 'debpts -- Debian Package Tracking System. + * 'dictionary' -- dictionary.reference.com search. * 'google' -- basic Google search. * 'hoogle' -- Hoogle, the Haskell libraries search engine. +* 'images' -- Google images. + * 'imdb' -- the Internet Movie Database. +* 'isohunt' -- isoHunt search. + * 'maps' -- Google maps. * 'mathworld' -- Wolfram MathWorld search. @@ -196,14 +211,20 @@ searchEngine :: Name -> Site -> SearchEngine searchEngine name site = SearchEngine name site -- The engines. -amazon, codesearch, dictionary, google, hoogle, imdb, maps, mathworld, - scholar, thesaurus, wayback, wikipedia, youtube :: SearchEngine +amazon, codesearch, deb, debbts, debpts, dictionary, google, hoogle, images, + imdb, isohunt, maps, mathworld, scholar, thesaurus, wayback, wikipedia, + youtube :: SearchEngine amazon = searchEngine "amazon" "http://www.amazon.com/exec/obidos/external-search?index=all&keyword=" codesearch = searchEngine "codesearch" "http://www.google.com/codesearch?q=" +deb = searchEngine "deb" "http://packages.debian.org/" +debbts = searchEngine "debbts" "http://bugs.debian.org/" +debpts = searchEngine "debpts" "http://packages.qa.debian.org/" dictionary = searchEngine "dictionary" "http://dictionary.reference.com/browse/" google = searchEngine "google" "http://www.google.com/search?num=100&q=" hoogle = searchEngine "hoogle" "http://www.haskell.org/hoogle/?q=" +images = searchEngine "images" "http://images.google.fr/images?q=" imdb = searchEngine "imdb" "http://www.imdb.com/Find?select=all&for=" +isohunt = searchEngine "isohunt" "http://isohunt.com/torrents/?ihq=" maps = searchEngine "maps" "http://maps.google.com/maps?q=" mathworld = searchEngine "mathworld" "http://mathworld.wolfram.com/search/?query=" scholar = searchEngine "scholar" "http://scholar.google.com/scholar?q=" -- cgit v1.2.3