Add Hackage and crates.io to search engines

This commit is contained in:
xqtc161 2024-05-25 17:26:48 +02:00
parent db82e5f85f
commit c226503b70

View file

@ -179,6 +179,26 @@ with inputs; {
updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = ["@ghu"];
};
"Hackage" = {
urls = [
{
template = "https://hackage.haskell.org/packages/browse?terms={searchTerms}";
}
];
iconUpdateURL = "https://hackage.haskell.org/static/favicon.png";
updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = ["@hak"];
};
"crates.io" = {
urls = [
{
template = "https://crates.io/search?q={searchTerms}";
}
];
iconUpdateURL = "https://crates.io/favicon.ico";
updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = ["@cio"];
};
"Bing".metaData.hidden = true;
"Google".metaData.hidden = true;