aly/firefox: add wiktionary search + alias

This commit is contained in:
Aly Raffauf 2024-07-04 22:41:48 -04:00
parent fdf1172468
commit 2e00833e2d
2 changed files with 25 additions and 13 deletions

View file

@ -38,6 +38,13 @@
default = "Brave"; default = "Brave";
force = true; force = true;
engines = { engines = {
"Bing" = {
metaData = {
hidden = true;
alias = "!bing";
};
};
"Brave" = { "Brave" = {
definedAliases = ["!brave"]; definedAliases = ["!brave"];
icon = "${pkgs.brave}/share/icons/hicolor/24x24/apps/brave-browser.png"; icon = "${pkgs.brave}/share/icons/hicolor/24x24/apps/brave-browser.png";
@ -55,9 +62,17 @@
]; ];
}; };
"Google" = {
metaData = {
hidden = true;
alias = "!google";
};
};
"Kagi" = { "Kagi" = {
definedAliases = ["!kagi"]; definedAliases = ["!kagi"];
icon = ./kagi.png; iconUpdateURL = "https://kagi.com/favicon.ico";
updateInterval = 24 * 60 * 60 * 1000; # every day
urls = [ urls = [
{ {
@ -93,18 +108,15 @@
]; ];
}; };
"Bing" = { "Wiktionary" = {
metaData = { urls = [
hidden = true; {
alias = "!bing"; template = "https://en.wiktionary.org/wiki/{searchTerms}";
}; }
}; ];
iconUpdateURL = "https://en.wiktionary.org/favicon.ico";
"Google" = { updateInterval = 24 * 60 * 60 * 1000; # every day
metaData = { definedAliases = ["!wikt"];
hidden = true;
alias = "!google";
};
}; };
}; };
}; };

Binary file not shown.

Before

Width:  |  Height:  |  Size: 260 B