From ca4e454138be3fbdabfd1da787ce8c347231f2bd Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 2 Jun 2024 12:53:28 -0400 Subject: [PATCH] qutebrowser: Nixify remaining config settings --- home/qutebrowser.nix | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/home/qutebrowser.nix b/home/qutebrowser.nix index 0a10e172..bd6a9b43 100644 --- a/home/qutebrowser.nix +++ b/home/qutebrowser.nix @@ -8,6 +8,16 @@ in enable = true; settings = { + url = { + start_pages = [ + "about:blank" + ]; + + default_page = "about:blank"; + }; + + colors.webpage.darkmode.enabled = false; + confirm_quit = [ "multiple-tabs" "downloads" @@ -90,19 +100,15 @@ in }; }; + searchEngines = { + DEFAULT = "https://search.goo.ne.jp/web.jsp?MT={}"; + }; + extraConfig = /* python */ '' from qutebrowser.mainwindow import tabwidget tabwidget.TabWidget.MUTE_STRING = "" tabwidget.TabWidget.AUDIBLE_STRING = "[A]" - - c.colors.webpage.darkmode.enabled = False - - c.url.start_pages = ['about:blank'] - c.url.default_page = "about:blank" - c.url.searchengines = { - 'DEFAULT': 'https://search.goo.ne.jp/web.jsp?MT={}' - } ''; }; }