add more search engines

This commit is contained in:
Adithya 2023-11-26 21:49:16 +05:30
parent 3a9e01c7d0
commit b6d95cc3ea
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -122,6 +122,29 @@
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@no" ];
};
"GitHub" = {
urls = [
{
template = "https://github.com/search";
params = [
{ name = "q"; value = "{searchTerms}"; }
{ name = "type"; value = "repositories"; }
];
}
];
definedAliases = [ "@gh" ];
};
"YouTube" = {
urls = [
{
template = "https://www.youtube.com/results";
params = [
{ name = "search_query"; value = "{searchTerms}"; }
];
}
];
definedAliases = [ "@yt" ];
};
};
force = true;
};