blob: a47c77df749263353380a135b6a60ea02f163abb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
{pkgs, ...}: {
# DEFAULT
"Brave Search" = {
urls = [{template = "https://search.brave.com/search?q={searchTerms}";}];
icon = ./logos/brave.svg;
definedAliases = ["@bs"];
};
# NIX
"Nix Packages" = {
urls = [{template = "https://search.nixos.org/packages?type=packages&query={searchTerms}";}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@np"];
};
"NixOS Options" = {
urls = [{template = "https://search.nixos.org/options?type=options&query={searchTerms}";}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@no"];
};
"HomeManager Options" = {
urls = [{template = "https://home-manager-options.extranix.com/?query={searchTerms}&release=master";}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@nh"];
};
"Nixpkgs issues" = {
urls = [{template = "https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+{searchTerms}";}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@ni"];
};
"Nixpkgs pull requests" = {
urls = [{template = "https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+{searchTerms}";}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@nr"];
};
"Nixpkgs pull requests tracker" = {
urls = [{template = "https://nixpk.gs/pr-tracker.html?pr={searchTerms}";}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@nt"];
};
"NixOS Wiki" = {
urls = [{template = "https://wiki.nixos.org/w/index.php?search={searchTerms}";}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@nw"];
};
# RUST
"Rust std" = {
urls = [{template = "https://doc.rust-lang.org/std/?search={searchTerms}";}];
icon = ./logos/rust_std.svg;
definedAliases = ["@rs"];
};
"Rust tokio" = {
urls = [{template = "https://docs.rs/tokio/latest/tokio/index.html?search={searchTerms}";}];
icon = ./logos/rust_tokio.png;
definedAliases = ["@rt"];
};
# OTHER
"Google Scholar" = {
urls = [{template = "https://scholar.google.com/scholar?hl=en&q={searchTerms}";}];
icon = ./logos/google_scholar.ico;
definedAliases = ["@gs"];
};
"Wikipedia" = {
urls = [{template = "https://en.wikipedia.org/wiki/{searchTerms}";}];
icon = ./logos/wikipedia.svg;
definedAliases = ["@wp"];
};
"Arch Wiki" = {
urls = [{template = "https://wiki.archlinux.org/index.php?search={searchTerms}";}];
icon = ./logos/arch_linux.svg;
definedAliases = ["@aw"];
};
"Wikipedia (en)".metaData.hidden = true;
"DuckDuckGo".metaData.hidden = true;
"Bing".metaData.hidden = true;
"Google".metaData.hidden = true;
"Amazon.de".metaData.hidden = true;
"eBay".metaData.hidden = true;
}
|