mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-27 13:11:22 +02: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 = {
|
programs.qutebrowser = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.qutebrowser-qt6;
|
package = pkgs.qutebrowser-qt6;
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
# Mute tabs by default
|
# Mute tabs by default
|
||||||
from qutebrowser.mainwindow import tabwidget
|
from qutebrowser.mainwindow import tabwidget
|
||||||
@ -159,6 +160,11 @@
|
|||||||
|
|
||||||
# Prioritize Japanese content (en-US is necessary to avoid breaking things)
|
# Prioritize Japanese content (en-US is necessary to avoid breaking things)
|
||||||
c.content.headers.accept_language = 'ja-JP,en-US'
|
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…
x
Reference in New Issue
Block a user