nixos-config/users/rouven/modules/qutebrowser/default.nix

42 lines
1.3 KiB
Nix
Raw Normal View History

2024-02-12 00:05:45 +01:00
{ ... }:
2023-12-29 23:33:09 +01:00
{
programs.qutebrowser = {
enable = true;
searchEngines = {
DEFAULT = "https://duckduckgo.com/?q={}";
aw = "https://wiki.archlinux.org/?search={}";
nw = "https://nixos.wiki/index.php?search={}";
ns = "https://search.nixos.org/packages?query={}";
nso = "https://search.nixos.org/options?query={}";
wp = "https://en.wikipedia.org/wiki/Special:Search?search={}";
y = "http://localhost:8090/yacysearch.html?query={}";
yt = "https://www.youtube.com/results?search_query={}";
g = "https://www.google.com/search?hl=en&q={}";
};
quickmarks = {
nix-search = "https://search.nixos.org/options?";
home-search = "https://mipmip.github.io/home-manager-option-search/";
jexam = "https://jexam.inf.tu-dresden.de";
opal = "https://bildungsportal.sachsen.de/opal/home?2";
fruitbasket = "https://github.com/fsr/fruitbasket";
};
keyBindings = {
normal = {
"<Ctrl-m>" = "hint links spawn mpv {hint-url}";
};
};
settings = {
colors.webpage = {
darkmode.enabled = false;
preferred_color_scheme = "dark";
};
content.blocking = {
enabled = true;
method = "both";
};
statusbar.show = "in-mode";
tabs.show = "switching";
};
};
}