index.md - sites - public wiki contents of suckless.org
(HTM) git clone git://git.suckless.org/sites
(DIR) Log
(DIR) Files
(DIR) Refs
---
index.md (1615B)
---
1 search engines
2 ==============
3
4 Description
5 -----------
6
7 This patch allows the simple use of search engines. Put something
8 like this in your `config.h`:
9
10 static SearchEngine searchengines[] = {
11 { "g ", "http://www.google.de/search?q=%s" },
12 { "leo ", "http://dict.leo.org/ende?search=%s" },
13 };
14
15 Then you can access each search engine by putting its prefix in front of your
16 keywords:
17
18 g foo bar
19
20 or:
21
22 leo hello
23
24 **Note:** tokens should end with a space to prevent matching when trying to
25 search for a url. Token `"g"` will match `google.com`.
26
27 Using `" "` as your token will give you the functionality of the
28 [spacesearch](https://surf.suckless.org/patches/spacesearch/) patch.
29
30 Download
31 --------
32
33 * [surf-0.3-searchengines.diff](surf-0.3-searchengines.diff) (2107) (20091204)
34 * [surf-0.4-searchengines.diff](surf-0.4-searchengines.diff) (2107) (20091204)
35 * [surf-0.7-searchengines.diff](surf-0.7-searchengines.diff) (20151219)
36 * [surf-git-20160127-searchengines.diff](surf-git-20160127-searchengines.diff)
37 * [surf-0.7-webkit2-searchengines.diff](surf-0.7-webkit2-searchengines.diff) (20160108)
38 * [surf-git-20170323-webkit2-searchengines.diff](surf-git-20170323-webkit2-searchengines.diff)
39 * [surf-searchengines-20220804-609ea1c.diff](surf-searchengines-20220804-609ea1c.diff)
40
41 Author
42 ------
43
44 * Nils Schweinsberg (McManiaC) <mail@n-sch.de>
45 * Samuel Baldwin (shardz) <recursive.forest@gmail.com>
46 * Alex Puterbaugh (zombine) <puterbaugh0@gmail.com>
47 * Ivan Tham (pickfire) <pickfire@riseup.net>
48 * Juan Aguilar Santillana (botika) <aritmeeul@gmail.com>
49 * Justinas Grigas - <dev@jstnas.com> (20220804 version)