mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-15 04:44:03 +01:00
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:
parent
99157848f1
commit
97786206c6
@ -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={}'
|
||||
}
|
||||
'';
|
||||
};
|
||||
}];
|
||||
|
Loading…
Reference in New Issue
Block a user