qutebrowser search engines and start page

This commit is contained in:
Andrea Ciceri 2022-04-25 16:07:26 +02:00
parent ca1ffa0b02
commit 99cd09401a
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654

View file

@ -1,6 +1,14 @@
{ {
programs.qutebrowser = { programs.qutebrowser = {
enable = true; enable = true;
searchEngines = {
DEFAULT = "https://searx.be/search?q={}&category_general=on&language=all";
w = "https://en.wikipedia.org/wiki/Special:Search?search={}&go=Go&ns0=1";
np = "https://search.nixos.org/packages?sort=relevance&type=packages&query={}";
no = "https://search.nixos.org/options?sort=relevance&type=options&query={}";
g = "https://google.com/search?q={}";
git = "https://github.com/search?q={}";
};
keyBindings = { keyBindings = {
normal = { normal = {
"<Ctrl-V>" = "spawn mpv {url}"; "<Ctrl-V>" = "spawn mpv {url}";
@ -12,6 +20,7 @@
}; };
}; };
settings = { settings = {
url.start_pages = [ "https://searx.be" ];
editor.command = [ editor.command = [
"emacsclient" "emacsclient"
"+{line}:{column}" "+{line}:{column}"
@ -21,3 +30,4 @@
}; };
}; };
} }