From f8735917b73506142df73a1514921b90adca6eac Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 2 Nov 2024 06:12:30 +0300 Subject: [PATCH] Firefox: Add 4pda & yt searches. --- home/program/firefox/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/home/program/firefox/default.nix b/home/program/firefox/default.nix index 0daa059..44aecfc 100644 --- a/home/program/firefox/default.nix +++ b/home/program/firefox/default.nix @@ -20,7 +20,9 @@ let ]; searchEngines = [ - (mkSearchEngine "s" "SearX" "https://search.voronind.com/search?q={searchTerms}") + (mkSearchEngine "4p" "4pda" + "https://4pda.to/forum/index.php?act=search&forums[]=all&source=all&query={searchTerms}" + ) (mkSearchEngine "aw" "Arch Wiki" "https://wiki.archlinux.org/index.php?search={searchTerms}") (mkSearchEngine "gh" "GitHub" "https://github.com/search?q={searchTerms}") (mkSearchEngine "ghc" "GitHub Code" "https://github.com/search?q={searchTerms}&type=code") @@ -31,8 +33,10 @@ let (mkSearchEngine "np" "NixOS Packages" "https://search.nixos.org/packages?query={searchTerms}") (mkSearchEngine "re" "Reddit" "https://www.reddit.com/search/?q={searchTerms}") (mkSearchEngine "rt" "RuTracker" "https://rutracker.org/forum/tracker.php?nm={searchTerms}") + (mkSearchEngine "s" "SearX" "https://search.voronind.com/search?q={searchTerms}") (mkSearchEngine "so" "Stack Overflow" "https://stackoverflow.com/search?tab=votes&q={searchTerms}") (mkSearchEngine "st" "Steam" "https://store.steampowered.com/search/?term={searchTerms}") + (mkSearchEngine "yt" "YouTube" "https://yt.voronind.com/search?q={searchTerms}") ]; extensions = [ @@ -278,9 +282,7 @@ in previewNewDesign = true; syncSettings = true; syncSitesFixes = true; - disabledFor = [ - "home.voronind.com" - ]; + disabledFor = [ "home.voronind.com" ]; theme = { mode = 1; brightness = 100;