add github search engine

This commit is contained in:
Seaswimmer 2024-12-18 15:04:51 -05:00
parent 1c702bef61
commit a36f3890f3
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -62,10 +62,11 @@ in
order = [ order = [
"DuckDuckGo" "DuckDuckGo"
"Google (udm14)" "Google (udm14)"
"GitHub"
"ProtonDB"
"Nix Packages" "Nix Packages"
"Nix Options" "Nix Options"
"NixOS Wiki" "NixOS Wiki"
"ProtonDB"
"Modrinth Mods" "Modrinth Mods"
"Modrinth Modpacks" "Modrinth Modpacks"
"Modrinth Plugins" "Modrinth Plugins"
@ -85,7 +86,6 @@ in
"@g" "@g"
"@google" "@google"
"@udm14" "@udm14"
"udm14"
]; ];
}; };
"Nix Packages" = { "Nix Packages" = {
@ -107,8 +107,6 @@ in
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 = [ definedAliases = [
"@np" "@np"
"pkgs"
"pkg"
]; ];
}; };
"Nix Options" = { "Nix Options" = {
@ -130,8 +128,6 @@ in
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 = [ definedAliases = [
"@no" "@no"
"opts"
"opt"
]; ];
}; };
"NixOS Wiki" = { "NixOS Wiki" = {
@ -139,7 +135,14 @@ in
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 = [ definedAliases = [
"@nw" "@nw"
"nix" ];
};
"GitHub" = {
urls = [ { template = "https://github.com/search?q={searchTerms}"; } ];
iconUpdateURL = "https://github.com/favicon.ico";
updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = [
"@gh"
]; ];
}; };
"ProtonDB" = { "ProtonDB" = {
@ -148,7 +151,6 @@ in
updateInterval = 24 * 60 * 60 * 1000; # every day updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = [ definedAliases = [
"@pd" "@pd"
"proton"
]; ];
}; };
"Modrinth Mods" = { "Modrinth Mods" = {