refactor: firefox overhaul

This commit is contained in:
Nick 2024-11-09 16:44:23 -06:00
parent 9ea002b5a3
commit a2bf6014ff
85 changed files with 1253 additions and 1133 deletions

View file

@ -0,0 +1,12 @@
{
"Sci-Hub" = {
definedAliases = ["@sc"];
icon = ./icons/sc.png;
urls = [{template = "https://sci-hub.ee/{searchTerms}";}];
};
"Wikipedia" = {
definedAliases = ["@wi"];
icon = ./icons/wi.png;
urls = [{template = "https://en.wikipedia.org/wiki/{searchTerms}";}];
};
}

View file

@ -0,0 +1,31 @@
{flake, ...}: let
aggregatedSearchEngines =
builtins.foldl' (
emptySet: searchEngine:
emptySet // (import ./${searchEngine}.nix)
) {} [
"academic"
"development"
"gaming"
"hidden"
"shopping"
"socialMedia"
"spank"
"tools"
"tracking"
"web"
]
// builtins.foldl' (
emptySet: searchEngine:
emptySet // (import ./${searchEngine}.nix {inherit flake;})
) {} [
"selfHosted"
];
in {
search = {
force = true;
default = "Kagi";
engines = aggregatedSearchEngines;
order = import ./order.nix;
};
}

View file

@ -0,0 +1,37 @@
{
"DNS Checker" = {
definedAliases = ["@dn"];
icon = ./icons/dn.png;
urls = [{template = "https://dnschecker.org/#A/{searchTerms}";}];
};
"Hackage" = {
definedAliases = ["@ha"];
icon = ./icons/ha.png;
urls = [{template = "https://hackage.haskell.org/packages/search?terms={searchTerms}";}];
};
"Hoogle" = {
definedAliases = ["@ho"];
icon = ./icons/ho.png;
urls = [{template = "https://www.stackage.org/lts-22.33/hoogle?q={searchTerms}";}];
};
"Nix Home Manager" = {
definedAliases = ["@nh"];
icon = ./icons/nx.png;
urls = [{template = "https://searchix.alanpearce.eu/options/home-manager/search?query={searchTerms}";}];
};
"Nix Options" = {
definedAliases = ["@no"];
icon = ./icons/nx.png;
urls = [{template = "https://searchix.alanpearce.eu/options/nixos/search?query={searchTerms}";}];
};
"Nix Packages" = {
definedAliases = ["@np"];
icon = ./icons/nx.png;
urls = [{template = "https://searchix.alanpearce.eu/packages/nixpkgs/search?query={searchTerms}";}];
};
"Nix Wiki" = {
definedAliases = ["@nw"];
icon = ./icons/nx.png;
urls = [{template = "https://nixos.wiki/index.php?search={searchTerms}";}];
};
}

View file

@ -0,0 +1,13 @@
{
"Proton DB" = {
definedAliases = ["@pd"];
icon = ./icons/pd.png;
urls = [{template = "https://www.protondb.com/search?q={searchTerms}";}];
};
"Steam DB" = {
definedAliases = ["@sd"];
icon = ./icons/sd.png;
urls = [{template = "https://steamdb.info/search/?a=all&q={searchTerms}";}];
};
}

View file

@ -0,0 +1,7 @@
{
"Amazon.ca".metaData.hidden = true;
"Bing".metaData.hidden = true;
"eBay".metaData.hidden = true;
"Google".metaData.hidden = true;
"Wikipedia (en)".metaData.hidden = true;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 539 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View file

@ -0,0 +1,36 @@
[
# "1337x"
"AlternativeTo"
# "Amazon"
# "Brave"
"Core Radio"
# "DNS Checker"
# "Door Dash"
# "FYT Supplies"
"Hackage"
"Hoogle"
"Jellyfin"
"Kagi"
# "Kijiji"
# "Memory Express"
"Nix Home Manager"
"Nix Options"
"Nix Packages"
"Nix Wiki"
"PeerTube"
# "Proton DB"
# "Reddit"
# "Rhyme Zone"
"Sci-Hub"
# "Skip The Dishes"
# "Stanford Encyclopedia of Philosophy"
# "Steam DB"
# "The Pirate Bay"
"Torrent Leech"
"Urban Dictionary"
# "VSTorrent"
"Wikipedia"
# "X"
# "XVideos"
"YouTube"
]

View file

@ -0,0 +1,14 @@
{flake, ...}: let
inherit (flake.config.services) instances;
in {
"${instances.jellyfin.label}" = {
definedAliases = ["@jf"];
icon = ./icons/jf.png;
urls = [{template = "https://${instances.jellyfin.subdomain}.${instances.web.domains.url0}/web/#/search.html?query={searchTerms}";}];
};
"${instances.peertube.label}" = {
definedAliases = ["@pt"];
icon = ./icons/pt.png;
urls = [{template = "https://${instances.peertube.subdomain}.${instances.web.domains.url1}/search?search={searchTerms}";}];
};
}

View file

@ -0,0 +1,32 @@
{
"Amazon" = {
definedAliases = ["@am"];
icon = ./icons/am.png;
urls = [{template = "https://www.amazon.ca/s?k={searchTerms}&ref=nav_bb_sb";}];
};
"Door Dash" = {
definedAliases = ["@do"];
icon = ./icons/do.png;
urls = [{template = "https://www.doordash.com/search/store/{searchTerms}";}];
};
"FYT Supplies" = {
definedAliases = ["@fy"];
icon = ./icons/fy.png;
urls = [{template = "https://fytsupplies.ca/search?type=product%2Carticle%2Cpage%2Ccollection&options[prefix]=last&q={searchTerms}*";}];
};
"Kijiji" = {
definedAliases = ["@ki"];
icon = ./icons/ki.png;
urls = [{template = "https://www.kijiji.ca/b-winnipeg/{searchTerms}";}];
};
"Memory Express" = {
definedAliases = ["@me"];
icon = ./icons/me.png;
urls = [{template = "https://www.memoryexpress.com/Search/Products?Search={searchTerms}";}];
};
"Skip The Dishes" = {
definedAliases = ["@sk"];
icon = ./icons/sk.png;
urls = [{template = "https://www.skipthedishes.com/winnipeg/items?search={searchTerms}";}];
};
}

View file

@ -0,0 +1,17 @@
{
"Reddit" = {
definedAliases = ["@re"];
icon = ./icons/re.png;
urls = [{template = "https://www.reddit.com/search/?q={searchTerms}";}];
};
"YouTube" = {
definedAliases = ["@yo"];
icon = ./icons/yo.png;
urls = [{template = "https://www.youtube.com/results?search_query={searchTerms}";}];
};
"X" = {
definedAliases = ["@tw"];
icon = ./icons/tw.png;
urls = [{template = "https://x.com/search?q={searchTerms}";}];
};
}

View file

@ -0,0 +1,17 @@
{
"Spankbang" = {
definedAliases = ["@sb"];
icon = ./icons/sb.png;
urls = [{template = "https://spankbang.com/s/{searchTerms}/";}];
};
"XHampster" = {
definedAliases = ["@xh"];
icon = ./icons/xh.png;
urls = [{template = "https://xhamster.com/search/{searchTerms}";}];
};
"XVideos" = {
definedAliases = ["@xv"];
icon = ./icons/xv.png;
urls = [{template = "https://www.xvideos.com/?k={searchTerms}";}];
};
}

View file

@ -0,0 +1,22 @@
{
"AlternativeTo" = {
definedAliases = ["@al"];
icon = ./icons/al.png;
urls = [{template = "https://alternativeto.net/browse/search/?q={searchTerms}";}];
};
"Rhyme Zone" = {
definedAliases = ["@rz"];
icon = ./icons/rz.png;
urls = [{template = "https://www.rhymezone.com/r/rhyme.cgi?Word={searchTerms}&typeofrhyme=perfect&org1=syl&org2=l&org3=y";}];
};
"Urban Dictionary" = {
definedAliases = ["@ur"];
icon = ./icons/ur.png;
urls = [{template = "https://www.urbandictionary.com/define.php?term={searchTerms}";}];
};
"Stanford Encyclopedia of Philosophy" = {
definedAliases = ["@ph"];
icon = ./icons/ph.png;
urls = [{template = "https://plato.stanford.edu/search/searcher.py?query={searchTerms}";}];
};
}

View file

@ -0,0 +1,27 @@
{
"1337x" = {
definedAliases = ["@13"];
icon = ./icons/13.png;
urls = [{template = "https://1337x.to/search/{searchTerms}/1/";}];
};
"Core Radio" = {
definedAliases = ["@cr"];
icon = ./icons/cr.png;
urls = [{template = "https://coreradio.online/?do=search&subaction=search&story={searchTerms}";}];
};
"The Pirate Bay" = {
definedAliases = ["@pi"];
icon = ./icons/pi.png;
urls = [{template = "https://thepiratebay.org/search.php?q={searchTerms}&all=on&search=Pirate+Search&page=0&orderby=";}];
};
"Torrent Leech" = {
definedAliases = ["@tl"];
icon = ./icons/tl.png;
urls = [{template = "https://www.torrentleech.org/torrents/browse/index/query/{searchTerms}";}];
};
"VSTorrent" = {
definedAliases = ["@vs"];
icon = ./icons/vs.png;
urls = [{template = "https://vstorrent.org/?s={searchTerms}";}];
};
}

View file

@ -0,0 +1,12 @@
{
"Brave" = {
definedAliases = ["@br"];
icon = ./icons/br.png;
urls = [{template = "https://search.brave.com/search?q={searchTerms}&source=web";}];
};
"Kagi" = {
definedAliases = ["@ka"];
icon = ./icons/ka.png;
urls = [{template = "https://kagi.com/search?q={searchTerms}";}];
};
}