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;
|
||||
default = "ddg";
|
||||
|
||||
# Uncomment to enable custom search engines
|
||||
# engines = {
|
||||
# "Nix Packages" = {
|
||||
# urls = [{
|
||||
# template = "https://search.nixos.org/packages";
|
||||
# params = [
|
||||
# { name = "channel"; value = "unstable"; }
|
||||
# { name = "query"; value = "{searchTerms}"; }
|
||||
# ];
|
||||
# }];
|
||||
# icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
# definedAliases = [ "@np" ];
|
||||
# };
|
||||
#
|
||||
# "NixOS Wiki" = {
|
||||
# urls = [{ template = "https://wiki.nixos.org/index.php?search={searchTerms}"; }];
|
||||
# icon = "https://wiki.nixos.org/favicon.png";
|
||||
# definedAliases = [ "@nw" ];
|
||||
# };
|
||||
# };
|
||||
}
|
||||
engines = {
|
||||
"ddg" = {
|
||||
urls = [{
|
||||
template = "https://duckduckgo.com/?q={searchTerms}";
|
||||
}];
|
||||
icon = "https://duckduckgo.com/favicon.ico";
|
||||
definedAliases = [ "@ddg" ];
|
||||
};
|
||||
|
||||
"Nix Packages" = {
|
||||
urls = [{
|
||||
template = "https://search.nixos.org/packages";
|
||||
params = [
|
||||
{ name = "channel"; value = "unstable"; }
|
||||
{ name = "query"; value = "{searchTerms}"; }
|
||||
];
|
||||
}];
|
||||
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