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