add modrinth search engines
This commit is contained in:
parent
a945920f93
commit
e282598214
1 changed files with 36 additions and 0 deletions
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue