[xmonad] darcs patch: intelligent searches in XMonad.Action.Search

Michał Trybus komar007 at gmail.com
Mon Jan 26 09:18:28 EST 2009


Hi,
Here's a patch for something I've been missing in the Search action.
It makes it possible to create your own search engine which uses
a function to transform a search query into a URL instead of joining
two strings.
You can also easily connect many search engines into one that takes
a query with a prefix to identify which of the engine to use. There's also
a modifier which will take a search engine and wrap it so that if the search
term is a URL it will go directly to the address (useful with selectSearch)

Sorry for my code. I'm new to haskell.

-- 
Michal Trybus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmonad-action-search-intelligent-searchengines.dpatch
Type: application/octet-stream
Size: 25549 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/xmonad/attachments/20090126/65209353/xmonad-action-search-intelligent-searchengines-0001.obj


More information about the xmonad mailing list