From 9341cfad376ad3760fc18caa8c73c876268fb443 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Mon, 2 Oct 2023 21:05:15 +0200 Subject: [PATCH] Add other search to firefox --- modules/users/jopejoe1/home.nix | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/modules/users/jopejoe1/home.nix b/modules/users/jopejoe1/home.nix index 7d790c2..e9ec8d1 100644 --- a/modules/users/jopejoe1/home.nix +++ b/modules/users/jopejoe1/home.nix @@ -218,7 +218,7 @@ in { }]; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; - definedAliases = [ "@nm" ]; + definedAliases = [ "@np" ]; }; "NixOS Modules" = { urls = [{ @@ -240,7 +240,7 @@ in { }]; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; - definedAliases = [ "@np" ]; + definedAliases = [ "@nm" ]; }; "NixOS Wiki" = { urls = [{ @@ -254,6 +254,28 @@ in { "${hcfg.programs.firefox.profiles.default.search.engines."Nix Packages".icon}"; definedAliases = [ "@nw" ]; }; + "Minecraft Wiki" = { + urls = [{ + template = "https://minecraft.wiki/"; + params = [{ + name = "search"; + value = "{searchTerms}"; + }]; + }]; + icon = "https://minecraft.wiki/images/Wiki.png"; + definedAliases = [ "@mc" ]; + }; + "Warframe Wiki" = { + urls = [{ + template = "https://warframe.fandom.com/wiki/Special:Search"; + params = [{ + name = "query"; + value = "{searchTerms}"; + }]; + }]; + icon = "https://static.wikia.nocookie.net/warframe/images/e/e6/Site-logo.png"; + definedAliases = [ "@wf" ]; + }; "Bing".metaData.hidden = true; "Google".metaData.hidden = true; "eBay".metaData.hidden = true;