Firefox update search aliases, add FlatHub

Make search aliases more in line with ddg bangs
This commit is contained in:
Evie Litherland-Smith 2024-05-16 08:52:53 +01:00
parent 838f762555
commit 307eef2429

View file

@ -1,28 +1,32 @@
pkgs: {
"OpenStreetMap" = {
urls = [{template = "https://www.openstreetmap.org/search?query={searchTerms}";}];
definedAliases = ["@om"];
definedAliases = ["@osm" "@openstreetmap"];
};
"NixOS Wiki" = {
urls = [{template = "https://nixos.wiki/index.php?search={searchTerms}";}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@nw"];
definedAliases = ["@nix" "@nixos" "@nixoswiki"];
};
"Arch Wiki" = {
urls = [{template = "https://wiki.archlinux.org/index.php?search={searchTerms}";}];
definedAliases = ["@aw"];
definedAliases = ["@aw" "@arch" "@archwiki"];
};
"GitHub" = {
urls = [{template = "https://github.com/search?q={searchTerms}";}];
definedAliases = ["@gh"];
definedAliases = ["@gh" "@git" "@github"];
};
"FlatHub" = {
url = [{template = "https://flathub.org/apps/search?q={searchTerms}";}];
definedAliases = ["@flat" "@fthub" "@flathub"];
};
"NixOS Packages" = {
urls = [{template = "http://search.nixos.org/packages?channel=unstable&size=50&sort=relevance&type=packages&query={searchTerms}";}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@np"];
definedAliases = ["@nixpkgs"];
};
"PyPI packages" = {
urls = [{template = "https://pypi.org/search/?q={searchTerms}";}];
definedAliases = ["@py"];
definedAliases = ["@pypi"];
};
}