add modrinth search engines

This commit is contained in:
Seaswimmer 2024-12-13 09:01:44 -05:00
parent a945920f93
commit e282598214
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -65,6 +65,10 @@ in
"Nix Options"
"NixOS Wiki"
"ProtonDB"
"Modrinth Mods"
"Modrinth Modpacks"
"Modrinth Plugins"
"Modrinth Datapacks"
];
engines = {
"Bing".metaData.hidden = true;
@ -146,6 +150,38 @@ in
"proton"
];
};
"Modrinth Mods" = {
urls = [ { template = "https://modrinth.com/mod/{searchTerms}"; } ];
iconUpdateURL = "https://modrinth.com/favicon.ico";
updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = [
"@mm"
];
};
"Modrinth Modpacks" = {
urls = [ { template = "https://modrinth.com/modpack/{searchTerms}"; } ];
iconUpdateURL = "https://modrinth.com/favicon.ico";
updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = [
"@mmp"
];
};
"Modrinth Plugins" = {
urls = [ { template = "https://modrinth.com/plugin/{searchTerms}"; } ];
iconUpdateURL = "https://modrinth.com/favicon.ico";
updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = [
"@mp"
];
};
"Modrinth Datapacks" = {
urls = [ { template = "https://modrinth.com/datapack/{searchTerms}"; } ];
iconUpdateURL = "https://modrinth.com/favicon.ico";
updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = [
"@md"
];
};
};
};
};