Skip to content

Commit

Permalink
qutebrowser: Nixify remaining config settings
Browse files Browse the repository at this point in the history
  • Loading branch information
donovanglover committed Jun 2, 2024
1 parent 481cc84 commit ca4e454
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions home/qutebrowser.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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={}'
}
'';
};
}

0 comments on commit ca4e454

Please sign in to comment.