mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-05 07:06:24 +01:00
fix some opensearch stuff
This commit is contained in:
parent
9ed3cde274
commit
e53b2e1c90
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue