feat: added floorp
19
modules/home/gui/apps/browsers/floorp/config/search/config/academic.nix
Executable file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"Sci-Hub" = {
|
||||
definedAliases = [
|
||||
"@sc"
|
||||
];
|
||||
icon = ./icons/sc.png;
|
||||
urls = [
|
||||
{ template = "https://sci-hub.ee/{searchTerms}"; }
|
||||
];
|
||||
};
|
||||
"Wikipedia" = {
|
||||
definedAliases = [
|
||||
"@wi"
|
||||
];
|
||||
urls = [
|
||||
{ template = "https://en.wikipedia.org/wiki/{searchTerms}"; }
|
||||
];
|
||||
};
|
||||
}
|
69
modules/home/gui/apps/browsers/floorp/config/search/config/development.nix
Executable file
|
@ -0,0 +1,69 @@
|
|||
{
|
||||
"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://search.nixos.org/options?channel=unstable&size=50&sort=relevance&type=packages&query={searchTerms}";
|
||||
}
|
||||
];
|
||||
};
|
||||
"Nix Packages" = {
|
||||
definedAliases = [
|
||||
"@np"
|
||||
];
|
||||
icon = ./icons/nx.png;
|
||||
urls = [
|
||||
{
|
||||
template = "https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query={searchTerms}";
|
||||
}
|
||||
];
|
||||
};
|
||||
"Nix Wiki" = {
|
||||
definedAliases = [
|
||||
"@nw"
|
||||
];
|
||||
icon = ./icons/nx.png;
|
||||
urls = [
|
||||
{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }
|
||||
];
|
||||
};
|
||||
}
|
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/flake/icons/jf.png
Executable file
After Width: | Height: | Size: 87 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/flake/icons/pt.png
Executable file
After Width: | Height: | Size: 71 KiB |
|
@ -0,0 +1,30 @@
|
|||
{ 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}";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
21
modules/home/gui/apps/browsers/floorp/config/search/config/gaming.nix
Executable file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"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}"; }
|
||||
];
|
||||
};
|
||||
}
|
7
modules/home/gui/apps/browsers/floorp/config/search/config/hidden.nix
Executable 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;
|
||||
}
|
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/13.png
Executable file
After Width: | Height: | Size: 25 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/al.png
Executable file
After Width: | Height: | Size: 15 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/am.png
Executable file
After Width: | Height: | Size: 20 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/br.png
Executable file
After Width: | Height: | Size: 38 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/cr.png
Executable file
After Width: | Height: | Size: 539 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/dn.png
Executable file
After Width: | Height: | Size: 10 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/do.png
Executable file
After Width: | Height: | Size: 14 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/fy.png
Executable file
After Width: | Height: | Size: 7.2 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/ha.png
Executable file
After Width: | Height: | Size: 21 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/ho.png
Executable file
After Width: | Height: | Size: 5.3 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/ka.png
Executable file
After Width: | Height: | Size: 11 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/ki.png
Executable file
After Width: | Height: | Size: 31 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/me.png
Executable file
After Width: | Height: | Size: 266 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/ne.png
Executable file
After Width: | Height: | Size: 7.6 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/nx.png
Executable file
After Width: | Height: | Size: 195 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/pd.png
Executable file
After Width: | Height: | Size: 7.3 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/ph.png
Executable file
After Width: | Height: | Size: 4.8 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/pi.png
Executable file
After Width: | Height: | Size: 58 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/re.png
Executable file
After Width: | Height: | Size: 7 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/rz.png
Executable file
After Width: | Height: | Size: 16 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/sb.png
Executable file
After Width: | Height: | Size: 27 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/sc.png
Executable file
After Width: | Height: | Size: 59 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/sd.png
Executable file
After Width: | Height: | Size: 22 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/sk.png
Executable file
After Width: | Height: | Size: 5.1 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/tl.png
Executable file
After Width: | Height: | Size: 13 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/tw.png
Executable file
After Width: | Height: | Size: 357 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/ur.png
Executable file
After Width: | Height: | Size: 18 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/vs.png
Executable file
After Width: | Height: | Size: 26 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/wi.png
Executable file
After Width: | Height: | Size: 436 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/xh.png
Executable file
After Width: | Height: | Size: 51 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/xv.png
Executable file
After Width: | Height: | Size: 44 KiB |
BIN
modules/home/gui/apps/browsers/floorp/config/search/config/icons/yo.png
Executable file
After Width: | Height: | Size: 22 KiB |
58
modules/home/gui/apps/browsers/floorp/config/search/config/shopping.nix
Executable file
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
"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}"; }
|
||||
];
|
||||
};
|
||||
}
|
29
modules/home/gui/apps/browsers/floorp/config/search/config/socialMedia.nix
Executable file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"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}"; }
|
||||
];
|
||||
};
|
||||
}
|
29
modules/home/gui/apps/browsers/floorp/config/search/config/spank.nix
Executable file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"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}"; }
|
||||
];
|
||||
};
|
||||
}
|
40
modules/home/gui/apps/browsers/floorp/config/search/config/tools.nix
Executable file
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
"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}"; }
|
||||
];
|
||||
};
|
||||
}
|
49
modules/home/gui/apps/browsers/floorp/config/search/config/tracking.nix
Executable file
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
"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}"; }
|
||||
];
|
||||
};
|
||||
}
|
20
modules/home/gui/apps/browsers/floorp/config/search/config/web.nix
Executable file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"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}"; }
|
||||
];
|
||||
};
|
||||
}
|
54
modules/home/gui/apps/browsers/floorp/config/search/default.nix
Executable file
|
@ -0,0 +1,54 @@
|
|||
{ flake, ... }:
|
||||
let
|
||||
configPath = ./config;
|
||||
flakedPath = configPath + /flake;
|
||||
|
||||
regularSearchEngines =
|
||||
let
|
||||
files = builtins.attrNames (builtins.readDir configPath);
|
||||
in
|
||||
builtins.foldl' (
|
||||
emptySet: searchEngine: emptySet // (import (configPath + "/${searchEngine}"))
|
||||
) { } (builtins.filter (name: builtins.match ".*\\.nix$" name != null) files);
|
||||
|
||||
flakedSearchEngines =
|
||||
let
|
||||
files = builtins.attrNames (builtins.readDir flakedPath);
|
||||
in
|
||||
builtins.foldl' (
|
||||
emptySet: searchEngine:
|
||||
emptySet
|
||||
// (import (flakedPath + "/${searchEngine}") {
|
||||
inherit
|
||||
flake
|
||||
;
|
||||
})
|
||||
) { } (builtins.filter (name: builtins.match ".*\\.nix$" name != null) files);
|
||||
|
||||
aggregatedSearchEngines = regularSearchEngines // flakedSearchEngines;
|
||||
in
|
||||
{
|
||||
search = {
|
||||
force = true;
|
||||
default = "Kagi";
|
||||
engines = aggregatedSearchEngines;
|
||||
order = [
|
||||
"AlternativeTo"
|
||||
"Core Radio"
|
||||
"Hackage"
|
||||
"Hoogle"
|
||||
"Jellyfin"
|
||||
"Kagi"
|
||||
"Nix Home Manager"
|
||||
"Nix Options"
|
||||
"Nix Packages"
|
||||
"Nix Wiki"
|
||||
"PeerTube"
|
||||
"Sci-Hub"
|
||||
"Torrent Leech"
|
||||
"Urban Dictionary"
|
||||
"Wikipedia"
|
||||
"YouTube"
|
||||
];
|
||||
};
|
||||
}
|