[FF] Rework search engines
This commit is contained in:
parent
7d10c4fe32
commit
c9088a4b8e
|
@ -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;
|
||||
};
|
||||
};};
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue