nes[i].token)) != ' ')
+continue;
+if (g_str_has_prefix(uri, searchengines[i].token))
+return g_strdup_printf(searchengines[i].uri,
+ uri + strlen(searchengines[i].token) + 1);
+}
+
+return g_strdup_printf(defaultsearchengine , uri);
+}
+
void
pasteuri(GtkClipboard *clipboard, const char *text, gpointer d)
{
Best,
Rhylx
wrong but if the searchengine patch is applied correctly, the
chromebar patch is just one line.
So here because chromebar without searchengine doesn't make a lot of sense I
suggest an update patch of those two :
https://raw.githubusercontent.com/Rhylx/surf/master/chromebar.diff
Best,
Rhylx