add firefox
This commit is contained in:
parent
f851493ca9
commit
a19f0bde5c
7 changed files with 182 additions and 4 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
.winButtons_c38106 winButtonsWithDivider_c38106 {
|
.winButtons_c38106.winButtonsWithDivider_c38106 {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.trailing_c38106 {
|
||||||
|
padding-right: 10px;
|
||||||
|
}
|
||||||
|
|
|
||||||
0
assets/firefox/userChrome.css
Normal file
0
assets/firefox/userChrome.css
Normal file
0
assets/firefox/userContent.css
Normal file
0
assets/firefox/userContent.css
Normal file
166
modules/features/home/browsers.nix
Normal file
166
modules/features/home/browsers.nix
Normal file
|
|
@ -0,0 +1,166 @@
|
||||||
|
{ pkgs, libs, ... }:
|
||||||
|
{
|
||||||
|
programs = {
|
||||||
|
firefox = {
|
||||||
|
enable = true;
|
||||||
|
profiles.default = {
|
||||||
|
settings = {
|
||||||
|
"browser.startup.homepage" = "about:home";
|
||||||
|
};
|
||||||
|
|
||||||
|
search = {
|
||||||
|
default = "google";
|
||||||
|
engines = {
|
||||||
|
youtube = {
|
||||||
|
name = "YouTube";
|
||||||
|
definedAliases = [
|
||||||
|
"@yt"
|
||||||
|
"@youtube"
|
||||||
|
];
|
||||||
|
icon = "https://www.youtube.com/s/desktop/83c08b77/img/favicon.ico";
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://www.youtube.com/results";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "search_query";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
google = {
|
||||||
|
name = "Google";
|
||||||
|
definedAliases = [
|
||||||
|
"@g"
|
||||||
|
"@google"
|
||||||
|
];
|
||||||
|
icon = "https://www.gstatic.com/images/branding/searchlogo/ico/favicon.ico";
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://www.google.com/search";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "q";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
template = "https://www.google.com/search";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "udm";
|
||||||
|
value = "2";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "q";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
github = {
|
||||||
|
name = "Github";
|
||||||
|
definedAliases = [
|
||||||
|
"@gh"
|
||||||
|
"@github"
|
||||||
|
];
|
||||||
|
icon = "https://github.githubassets.com/favicons/favicon-dark.svg";
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://github.com/search";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "type";
|
||||||
|
value = "repositories";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "q";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
reddit = {
|
||||||
|
name = "Reddit";
|
||||||
|
definedAliases = [
|
||||||
|
"@rd"
|
||||||
|
"@reddit"
|
||||||
|
];
|
||||||
|
icon = "https://www.redditstatic.com/shreddit/assets/favicon/192x192.png";
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://www.reddit.com/search";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "q";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
nix-packages = {
|
||||||
|
name = "Nix Packages";
|
||||||
|
definedAliases = [
|
||||||
|
"@np"
|
||||||
|
"@nixpkgs"
|
||||||
|
];
|
||||||
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://search.nixos.org/packages";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "type";
|
||||||
|
value = "packages";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "query";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
mynixos = {
|
||||||
|
name = "My NixOS";
|
||||||
|
definedAliases = [ "@mynixos" ];
|
||||||
|
icon = "https://mynixos.com/favicon.ico";
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://mynixos.com/search";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "q";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
bing.metaData.hidden = true;
|
||||||
|
ddg.metaData.hidden = true;
|
||||||
|
perplexity.metaData.hidden = true;
|
||||||
|
wikipedia.metaData.hidden = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
userChrome = builtins.readFile (libs.root "/assets/firefox/userChrome.css");
|
||||||
|
userContent = builtins.readFile (libs.root "/assets/firefox/userContent.css");
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
chromium.enable = false;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
nodejs
|
nodejs
|
||||||
bun
|
bun
|
||||||
brightnessctl
|
brightnessctl
|
||||||
wine64
|
# wine64
|
||||||
|
|
||||||
quickshell
|
quickshell
|
||||||
bluetuith
|
bluetuith
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,13 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
wayland.windowManager.hyprland.settings.windowrule = [
|
wayland.windowManager.hyprland.settings.windowrule = [
|
||||||
|
"float, class:(clipse)"
|
||||||
|
"size 622 652, class:(clipse)"
|
||||||
|
"stayfocused, class:(clipse)"
|
||||||
|
|
||||||
|
"suppressevent maximize, class:.*"
|
||||||
|
"nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0"
|
||||||
|
|
||||||
"opacity 0.0 override, class:^(xwaylandvideobridge)$"
|
"opacity 0.0 override, class:^(xwaylandvideobridge)$"
|
||||||
"noanim, class:^(xwaylandvideobridge)$"
|
"noanim, class:^(xwaylandvideobridge)$"
|
||||||
"noinitialfocus, class:^(xwaylandvideobridge)$"
|
"noinitialfocus, class:^(xwaylandvideobridge)$"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, osconfig, ... }:
|
{ lib, libs, osconfig, ... }:
|
||||||
{
|
{
|
||||||
programs.nixcord = lib.mkIf osconfig.device.programs.nixcord.enable {
|
programs.nixcord = lib.mkIf osconfig.device.programs.nixcord.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -7,9 +7,10 @@
|
||||||
vencord.enable = true;
|
vencord.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
quickCss = builtins.readFile ../../../assets/discord/style.css;
|
quickCss = builtins.readFile (libs.root "/assets/discord/style.css");
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
useQuickCss = true;
|
||||||
enableReactDevtools = true;
|
enableReactDevtools = true;
|
||||||
themeLinks = [ "https://catppuccin.github.io/discord/dist/catppuccin-mocha-blue.theme.css" ];
|
themeLinks = [ "https://catppuccin.github.io/discord/dist/catppuccin-mocha-blue.theme.css" ];
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue