[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.force = true;
search.default = "DuckDuckGo"; search.default = "DuckDuckGo";
search.engines = { 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" = { "YouTube" = {
urls = [{ urls = [{
template = "https://youtube.com/results"; template = "https://youtube.com/results";
@ -56,9 +45,31 @@ pkgs: {
updateInterval = 7 * 24 * 60 * 60 * 1000; # every week updateInterval = 7 * 24 * 60 * 60 * 1000; # every week
definedAliases = [ "!nix" ]; 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"; "Wikipedia (en)".metaData.alias = "!w";
"Google".metaData.alias = "!g"; "Google".metaData.alias = "!g";
"Bing".metaData.hidden = true; "Bing".metaData.hidden = true;
}; };
};}; };};
} }