Firefox: Add 4pda & yt searches.

This commit is contained in:
Dmitry Voronin 2024-11-02 06:12:30 +03:00
parent 56d0d52f91
commit f8735917b7
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -20,7 +20,9 @@ let
]; ];
searchEngines = [ 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 "aw" "Arch Wiki" "https://wiki.archlinux.org/index.php?search={searchTerms}")
(mkSearchEngine "gh" "GitHub" "https://github.com/search?q={searchTerms}") (mkSearchEngine "gh" "GitHub" "https://github.com/search?q={searchTerms}")
(mkSearchEngine "ghc" "GitHub Code" "https://github.com/search?q={searchTerms}&type=code") (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 "np" "NixOS Packages" "https://search.nixos.org/packages?query={searchTerms}")
(mkSearchEngine "re" "Reddit" "https://www.reddit.com/search/?q={searchTerms}") (mkSearchEngine "re" "Reddit" "https://www.reddit.com/search/?q={searchTerms}")
(mkSearchEngine "rt" "RuTracker" "https://rutracker.org/forum/tracker.php?nm={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 "so" "Stack Overflow" "https://stackoverflow.com/search?tab=votes&q={searchTerms}")
(mkSearchEngine "st" "Steam" "https://store.steampowered.com/search/?term={searchTerms}") (mkSearchEngine "st" "Steam" "https://store.steampowered.com/search/?term={searchTerms}")
(mkSearchEngine "yt" "YouTube" "https://yt.voronind.com/search?q={searchTerms}")
]; ];
extensions = [ extensions = [
@ -278,9 +282,7 @@ in
previewNewDesign = true; previewNewDesign = true;
syncSettings = true; syncSettings = true;
syncSitesFixes = true; syncSitesFixes = true;
disabledFor = [ disabledFor = [ "home.voronind.com" ];
"home.voronind.com"
];
theme = { theme = {
mode = 1; mode = 1;
brightness = 100; brightness = 100;