qutebrowser: Use a sane default search engine

search.goo.ne.jp is more accurate than DuckDuckGo and shows results that
would otherwise be completely ignored by the latter.
This commit is contained in:
Donovan Glover 2023-05-25 23:42:02 -04:00
parent 99157848f1
commit 97786206c6
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -5,6 +5,7 @@
programs.qutebrowser = {
enable = true;
package = pkgs.qutebrowser-qt6;
extraConfig = ''
# Mute tabs by default
from qutebrowser.mainwindow import tabwidget
@ -159,6 +160,11 @@
# Prioritize Japanese content (en-US is necessary to avoid breaking things)
c.content.headers.accept_language = 'ja-JP,en-US'
c.url.start_pages = ['https://search.goo.ne.jp']
c.url.searchengines = {
'DEFAULT': 'https://search.goo.ne.jp/web.jsp?MT={}'
}
'';
};
}];