From 2e54fedf26c7509a1d09bc790e1b7c9522b4df23 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 23 Nov 2024 11:49:23 +0300 Subject: [PATCH] Firefox: Add wallpaper search. --- home/program/firefox/default.nix | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/home/program/firefox/default.nix b/home/program/firefox/default.nix index 26c34844..4ef260a2 100644 --- a/home/program/firefox/default.nix +++ b/home/program/firefox/default.nix @@ -21,21 +21,22 @@ ]; searchEngines = [ - (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 "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 "gc" "GitHub Code" "https://github.com/search?q={searchTerms}&type=code") (mkSearchEngine "gn" "GitHub Notif" "https://github.com/notifications?query={searchTerms}") - (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 "oz" "Ozon" "https://www.ozon.ru/search?text={searchTerms}") - (mkSearchEngine "re" "Reddit" "https://www.reddit.com/search/?q={searchTerms}") - (mkSearchEngine "rt" "RuTracker" "https://rutracker.org/forum/tracker.php?nm={searchTerms}") - (mkSearchEngine "so" "Stack Overflow" "https://stackoverflow.com/search?tab=votes&q={searchTerms}") - (mkSearchEngine "st" "Steam" "https://store.steampowered.com/search/?term={searchTerms}") - (mkSearchEngine "sx" "SearX" "https://search.voronind.com/search?q={searchTerms}") - (mkSearchEngine "yt" "YouTube" "https://yt.voronind.com/search?q={searchTerms}") + (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 "oz" "Ozon" "https://www.ozon.ru/search?text={searchTerms}") + (mkSearchEngine "re" "Reddit" "https://www.reddit.com/search/?q={searchTerms}") + (mkSearchEngine "rt" "RuTracker" "https://rutracker.org/forum/tracker.php?nm={searchTerms}") + (mkSearchEngine "so" "Stack Overflow" "https://stackoverflow.com/search?tab=votes&q={searchTerms}") + (mkSearchEngine "st" "Steam" "https://store.steampowered.com/search/?term={searchTerms}") + (mkSearchEngine "sx" "SearX" "https://search.voronind.com/search?q={searchTerms}") + (mkSearchEngine "wp" "Wallpaper" "https://unsplash.com/s/photos/{searchTerms}?license=free&orientation=landscape") + (mkSearchEngine "yt" "YouTube" "https://yt.voronind.com/search?q={searchTerms}") ]; extensions = [