index.md (851B)
1 Chrome Bar 2 ========== 3 4 Description 5 ----------- 6 7 This patch is an extension of the [searchengines 8 patch](//surf.suckless.org/patches/searchengines). It parses what you 9 type in the dmenu window when you input new address or a query. If what you 10 wrote is not an internet address or a file`s uri, it will use a default search 11 engine to query for that phrase: like the chrome bar does. 12 13 14 Configuration 15 ------------- 16 17 Add something like this to your `config.h`: 18 19 static const char * defaultsearchengine = "http://www.google.co.uk/search?q=%s"; 20 static SearchEngine searchengines[] = { 21 { "g", "http://www.google.de/search?q=%s" }, 22 { "leo", "http://dict.leo.org/ende?search=%s" }, 23 }; 24 25 Download 26 -------- 27 28 * [surf-0.1-chromebar.diff](surf-0.1-chromebar.diff) (20130703) 29 30 Author 31 ------ 32 33 * Marcin Szamotulski (coot) <mszamot@gmail.com>