From 97786206c6f76732a5565cbaa13b5c4646a03a7f Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 25 May 2023 23:42:02 -0400 Subject: [PATCH] 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. --- applications/qutebrowser/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/applications/qutebrowser/default.nix b/applications/qutebrowser/default.nix index 8735696f..fbad96ab 100644 --- a/applications/qutebrowser/default.nix +++ b/applications/qutebrowser/default.nix @@ -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={}' + } ''; }; }];