Add packagist to firefox search engines

This commit is contained in:
Daniel Siepmann 2022-12-14 08:27:48 +01:00
parent 4fd9bcaf75
commit 988cd294c4
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
2 changed files with 12 additions and 0 deletions

BIN
assets/packagist.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

View file

@ -22,6 +22,7 @@
"PHP.net"
"MDN (developer.mozilla.org)"
"Nix Packages"
"Packagist"
];
engines = {
"PHP.net" = {
@ -71,6 +72,17 @@
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@np" ];
};
"Packagist" = {
urls = [{
template = "https://packagist.org/";
params = [
{ name = "query"; value = "{searchTerms}"; }
];
}];
icon = ./../../assets/packagist.png;
definedAliases = [ "@packagist" ];
};
"Bing".metaData.hidden = true;
"Google".metaData.hidden = true;