From e4eb81ea7f743ca47d66b04b8de33304841679e3 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Thu, 24 Oct 2024 09:54:56 +0300 Subject: [PATCH] Firefox: Add GitHub search. --- home/program/firefox/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/home/program/firefox/default.nix b/home/program/firefox/default.nix index 10e1491e..83d9a08d 100644 --- a/home/program/firefox/default.nix +++ b/home/program/firefox/default.nix @@ -16,14 +16,16 @@ let searchEngines = [ (mkSearchEngine "s" "SearX" "https://search.voronind.com/search?q={searchTerms}") - (mkSearchEngine "ru" "RuTracker" "https://rutracker.org/forum/tracker.php?nm={searchTerms}") - (mkSearchEngine "re" "Reddit" "https://www.reddit.com/search/?q={searchTerms}") - (mkSearchEngine "no" "NixOS Options" "https://search.nixos.org/options?query={searchTerms}") - (mkSearchEngine "np" "NixOS Packages" "https://search.nixos.org/packages?query={searchTerms}") - (mkSearchEngine "so" "Stack Overflow" "https://stackoverflow.com/search?tab=votes&q={searchTerms}") + (mkSearchEngine "gh" "GitHub" "https://github.com/search?q={searchTerms}") + (mkSearchEngine "ghc" "GitHub Code" "https://github.com/search?q={searchTerms}&type=code") (mkSearchEngine "hm" "Home Manager" "https://home-manager-options.extranix.com/?query={searchTerms}" ) + (mkSearchEngine "no" "NixOS Options" "https://search.nixos.org/options?query={searchTerms}") + (mkSearchEngine "np" "NixOS Packages" "https://search.nixos.org/packages?query={searchTerms}") + (mkSearchEngine "re" "Reddit" "https://www.reddit.com/search/?q={searchTerms}") + (mkSearchEngine "ru" "RuTracker" "https://rutracker.org/forum/tracker.php?nm={searchTerms}") + (mkSearchEngine "so" "Stack Overflow" "https://stackoverflow.com/search?tab=votes&q={searchTerms}") ]; extensions = {