fix some opensearch stuff

This commit is contained in:
Schrottkatze 2024-04-04 02:57:03 +02:00
parent 9ed3cde274
commit e53b2e1c90
No known key found for this signature in database

View file

@ -97,7 +97,13 @@
"NixOS Wiki" = {
urls = [
{
template = "https://nixos.wiki/index.php?title=Special:Search&search={searchTerms}&namespace=0";
template = "https://nixos.wiki/index.php";
params = [
{
name = "search";
value = "{searchTerms}";
}
];
}
];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
@ -106,15 +112,16 @@
"Noogle" = {
urls = [
{
template = "https://noogle.dev/q?term={searchTerms}";
template = "https://noogle.dev/q";
params = [
{
name = "q";
name = "term";
value = "{searchTerms}";
}
];
}
];
definedAliases = ["ngl"];
};
"lib.rs" = {
urls = [
@ -146,6 +153,14 @@
icon = "https://docs.rs/-/static/favicon.ico";
definedAliases = ["docs"];
};
"rust docs direct open" = {
urls = [
{
template = "https://docs.rs/{searchTerms}";
}
];
definedAliases = ["docd"];
};
"rust std docs" = {
urls = [
{
@ -161,6 +176,19 @@
icon = "https://doc.rust-lang.org/favicon.ico";
definedAliases = ["std"];
};
"MDN" = {
urls = [
{
template = "https://developer.mozilla.org/search";
params = [
{
name = "q";
value = "{searchTerms}";
}
];
}
];
};
"Bing".metaData.hidden = true;
"Google".metaData.hidden = true;
"Amazon.de".metaData.hidden = true;