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: { pkgs: {
"OpenStreetMap" = { "OpenStreetMap" = {
urls = [{template = "https://www.openstreetmap.org/search?query={searchTerms}";}]; urls = [{template = "https://www.openstreetmap.org/search?query={searchTerms}";}];
definedAliases = ["@om"]; definedAliases = ["@osm" "@openstreetmap"];
}; };
"NixOS Wiki" = { "NixOS Wiki" = {
urls = [{template = "https://nixos.wiki/index.php?search={searchTerms}";}]; urls = [{template = "https://nixos.wiki/index.php?search={searchTerms}";}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@nw"]; definedAliases = ["@nix" "@nixos" "@nixoswiki"];
}; };
"Arch Wiki" = { "Arch Wiki" = {
urls = [{template = "https://wiki.archlinux.org/index.php?search={searchTerms}";}]; urls = [{template = "https://wiki.archlinux.org/index.php?search={searchTerms}";}];
definedAliases = ["@aw"]; definedAliases = ["@aw" "@arch" "@archwiki"];
}; };
"GitHub" = { "GitHub" = {
urls = [{template = "https://github.com/search?q={searchTerms}";}]; 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" = { "NixOS Packages" = {
urls = [{template = "http://search.nixos.org/packages?channel=unstable&size=50&sort=relevance&type=packages&query={searchTerms}";}]; 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"; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@np"]; definedAliases = ["@nixpkgs"];
}; };
"PyPI packages" = { "PyPI packages" = {
urls = [{template = "https://pypi.org/search/?q={searchTerms}";}]; urls = [{template = "https://pypi.org/search/?q={searchTerms}";}];
definedAliases = ["@py"]; definedAliases = ["@pypi"];
}; };
} }