Add firefox search config
This commit is contained in:
parent
ea3a3b7188
commit
844fa8070e
1 changed files with 38 additions and 21 deletions
|
|
@ -2,24 +2,41 @@
|
||||||
force = true;
|
force = true;
|
||||||
default = "ddg";
|
default = "ddg";
|
||||||
|
|
||||||
# Uncomment to enable custom search engines
|
engines = {
|
||||||
# engines = {
|
"ddg" = {
|
||||||
# "Nix Packages" = {
|
urls = [{
|
||||||
# urls = [{
|
template = "https://duckduckgo.com/?q={searchTerms}";
|
||||||
# template = "https://search.nixos.org/packages";
|
}];
|
||||||
# params = [
|
icon = "https://duckduckgo.com/favicon.ico";
|
||||||
# { name = "channel"; value = "unstable"; }
|
definedAliases = [ "@ddg" ];
|
||||||
# { name = "query"; value = "{searchTerms}"; }
|
};
|
||||||
# ];
|
|
||||||
# }];
|
"Nix Packages" = {
|
||||||
# icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
urls = [{
|
||||||
# definedAliases = [ "@np" ];
|
template = "https://search.nixos.org/packages";
|
||||||
# };
|
params = [
|
||||||
#
|
{ name = "channel"; value = "unstable"; }
|
||||||
# "NixOS Wiki" = {
|
{ name = "query"; value = "{searchTerms}"; }
|
||||||
# urls = [{ template = "https://wiki.nixos.org/index.php?search={searchTerms}"; }];
|
];
|
||||||
# icon = "https://wiki.nixos.org/favicon.png";
|
}];
|
||||||
# definedAliases = [ "@nw" ];
|
definedAliases = [ "@nixpkg" ];
|
||||||
# };
|
};
|
||||||
# };
|
|
||||||
|
"Linkding" = {
|
||||||
|
urls = [{
|
||||||
|
template = "https://link.nas.yanlincs.com/bookmarks";
|
||||||
|
params = [
|
||||||
|
{ name = "q"; value = "{searchTerms}"; }
|
||||||
|
];
|
||||||
|
}];
|
||||||
|
definedAliases = [ "@link" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
# Hide unwanted default search engines
|
||||||
|
"google".metaData.hidden = true;
|
||||||
|
"bing".metaData.hidden = true;
|
||||||
|
"amazondotcom-us".metaData.hidden = true;
|
||||||
|
"ebay".metaData.hidden = true;
|
||||||
|
"wikipedia".metaData.hidden = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue