Add GitHub search engine
This commit is contained in:
parent
ef69f9943a
commit
82a2d7bbea
1 changed files with 13 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
package = pkgs.firefox.override {
|
||||
cfg = {
|
||||
enableTridactylNative = true;
|
||||
speechSynthesisSupport = true;
|
||||
speechSynthesisSupport = true; # Allow Text-to-speech in e.g. Discord
|
||||
};
|
||||
extraPolicies = {
|
||||
DisableFirefoxStudies = true;
|
||||
|
@ -36,6 +36,18 @@
|
|||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
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