Add GitHub search engine
This commit is contained in:
parent
39e8406c03
commit
ba9dcb8026
1 changed files with 13 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
package = pkgs.firefox.override {
|
package = pkgs.firefox.override {
|
||||||
cfg = {
|
cfg = {
|
||||||
enableTridactylNative = true;
|
enableTridactylNative = true;
|
||||||
speechSynthesisSupport = true;
|
speechSynthesisSupport = true; # Allow Text-to-speech in e.g. Discord
|
||||||
};
|
};
|
||||||
extraPolicies = {
|
extraPolicies = {
|
||||||
DisableFirefoxStudies = true;
|
DisableFirefoxStudies = true;
|
||||||
|
@ -36,6 +36,18 @@
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
definedAliases = [ "@np" ];
|
definedAliases = [ "@np" ];
|
||||||
};
|
};
|
||||||
|
"GitHub" = {
|
||||||
|
urls = [{
|
||||||
|
template = "https://github.com/search";
|
||||||
|
params = [
|
||||||
|
{ name = "q"; value = "{searchTerms}"; }
|
||||||
|
{ name = "type"; value = "repositories"; }
|
||||||
|
];
|
||||||
|
}];
|
||||||
|
|
||||||
|
icon = "${pkgs.icosystem}/share/icons/icosystem/scalable/apps/github-mark.svg";
|
||||||
|
definedAliases = [ "@gh" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue