aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Actions/Search.hs
diff options
context:
space:
mode:
authorgwern0 <gwern0@gmail.com>2009-08-08 02:06:22 +0200
committergwern0 <gwern0@gmail.com>2009-08-08 02:06:22 +0200
commitda0afa70540233e75591810ae52d97e811af5f76 (patch)
treeef00b73b42c689c93c4ec7ee06ab940c9643a2fd /XMonad/Actions/Search.hs
parentc84d92f80fe997cc40b6ec0ed6e1fd7587354959 (diff)
downloadXMonadContrib-da0afa70540233e75591810ae52d97e811af5f76.tar.gz
XMonadContrib-da0afa70540233e75591810ae52d97e811af5f76.tar.xz
XMonadContrib-da0afa70540233e75591810ae52d97e811af5f76.zip
XMonad.Actions.Search: +wikt
Ignore-this: cee8b1325820ea1f513ae18d840b4c48 darcs-hash:20090808000622-f7719-a6bf599e8473818a8d86acc23fb3e85d7bb3cb78.gz
Diffstat (limited to 'XMonad/Actions/Search.hs')
-rw-r--r--XMonad/Actions/Search.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/XMonad/Actions/Search.hs b/XMonad/Actions/Search.hs
index 8a3808d..1da2075 100644
--- a/XMonad/Actions/Search.hs
+++ b/XMonad/Actions/Search.hs
@@ -48,6 +48,7 @@ module XMonad.Actions.Search ( -- * Usage
thesaurus,
wayback,
wikipedia,
+ wiktionary,
youtube,
multi
-- * Use case: searching with a submap
@@ -275,7 +276,7 @@ searchEngineF = SearchEngine
-- The engines.
amazon, alpha, codesearch, deb, debbts, debpts, dictionary, google, hackage, hoogle,
- images, imdb, isohunt, lucky, maps, mathworld, scholar, thesaurus, wayback, wikipedia,
+ images, imdb, isohunt, lucky, maps, mathworld, scholar, thesaurus, wayback, wikipedia, wiktionary,
youtube :: SearchEngine
amazon = searchEngine "amazon" "http://www.amazon.com/exec/obidos/external-search?index=all&keyword="
alpha = searchEngine "alpha" "http://www.wolframalpha.com/input/?i="
@@ -296,6 +297,7 @@ mathworld = searchEngine "mathworld" "http://mathworld.wolfram.com/search/?que
scholar = searchEngine "scholar" "http://scholar.google.com/scholar?q="
thesaurus = searchEngine "thesaurus" "http://thesaurus.reference.com/search?q="
wikipedia = searchEngine "wiki" "https://secure.wikimedia.org/wikipedia/en/wiki/Special:Search?go=Go&search="
+wiktionary = searchEngine "wikt" "http://en.wiktionary.org/wiki/Special:Search?go=Go&search="
youtube = searchEngine "youtube" "http://www.youtube.com/results?search_type=search_videos&search_query="
{- This doesn't seem to work, but nevertheless, it seems to be the official
method at <http://web.archive.org/collections/web/advanced.html> to get the