[FF] Rework search engines

This commit is contained in:
Emi Simpson 2023-01-16 20:26:39 -05:00
parent 7d10c4fe32
commit c9088a4b8e
Signed by: Emi
GPG key ID: A12F2C2FFDC3D847

View file

@ -15,17 +15,6 @@ pkgs: {
search.force = true;
search.default = "DuckDuckGo";
search.engines = {
"Library Genesis" = {
urls = [{
template = "https://libgen.rs/search.php";
params = [
{name = "req"; value = "{searchTerms}";}
];
}];
iconUpdateURL = "https://libgen.rs/favicon.ico";
updateInterval = 7 * 24 * 60 * 60 * 1000; # every week
definedAliases = [ "!lg" ];
};
"YouTube" = {
urls = [{
template = "https://youtube.com/results";
@ -56,9 +45,31 @@ pkgs: {
updateInterval = 7 * 24 * 60 * 60 * 1000; # every week
definedAliases = [ "!nix" ];
};
"Anna's Archive" = {
urls = [
template = "https://annas-archive.org/search";
params = [
{name = "q"; value = "{searchTerms}"};
];
];
iconUpdateURL = "https://annas-archive.org/favicon.ico";
updateInterval = 7 * 24 * 60 * 60 * 1000; # every week
definedAliases = [ "!aa" ];
};
"GitHub" = {
urls = [
template = "https://github.com/search";
params = [
{name = "q"; value = "{searchTerms}"};
];
];
iconUpdateURL = "https://github.com/favicon.ico";
updateInterval = 7 * 24 * 60 * 60 * 1000; # every week
definedAliases = [ "!gh" ];
};
"Wikipedia (en)".metaData.alias = "!w";
"Google".metaData.alias = "!g";
"Bing".metaData.hidden = true;
};
};};
}
}