background removal extract userChrome to var
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
services.easyeffects = {
|
services.easyeffects = {
|
||||||
enable = true;
|
enable = true;
|
||||||
preset = "other_mic";
|
preset = "mic";
|
||||||
extraPresets = {
|
extraPresets = {
|
||||||
mic = builtins.fromJSON (builtins.readFile ./mic.json);
|
mic = builtins.fromJSON (builtins.readFile ./mic.json);
|
||||||
other_mic = builtins.fromJSON (builtins.readFile ./other_mic.json);
|
other_mic = builtins.fromJSON (builtins.readFile ./other_mic.json);
|
||||||
|
|||||||
@@ -298,6 +298,37 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
userChrome = ''
|
||||||
|
/* Hide tab bar. Used with Sidebery */
|
||||||
|
#TabsToolbar {
|
||||||
|
visibility: collapse !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#navigator-toolbox:not(:hover):not(:focus-within):has(#toolbar-menubar[inactive]) {
|
||||||
|
margin-top: -36px;
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
#nav-bar {
|
||||||
|
height: 20px;
|
||||||
|
}
|
||||||
|
#urlbar {
|
||||||
|
margin-top: -2px;
|
||||||
|
font-size: 10px;
|
||||||
|
padding-left: 5px;
|
||||||
|
min-height: 16px;
|
||||||
|
height: 16px;
|
||||||
|
}
|
||||||
|
#urlbar-searchmode-switcher {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
browser[type="content-primary"],
|
||||||
|
browser[type="content"],
|
||||||
|
.browserContainer {
|
||||||
|
background-color: #${base16.base01} !important;
|
||||||
|
background: #${base16.base01} !important;
|
||||||
|
}
|
||||||
|
'';
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
stylix = lib.mkIf osConfig.custom.graphical.stylix.enable {
|
stylix = lib.mkIf osConfig.custom.graphical.stylix.enable {
|
||||||
@@ -353,21 +384,7 @@ in
|
|||||||
]
|
]
|
||||||
++ lib.optionals osConfig.custom.hardware.nvidia.enable [ (import ./config/nvidia-fixes.nix) ]
|
++ lib.optionals osConfig.custom.hardware.nvidia.enable [ (import ./config/nvidia-fixes.nix) ]
|
||||||
);
|
);
|
||||||
userChrome = ''
|
userChrome = userChrome;
|
||||||
/* Hide tab bar. Used with Sidebery */
|
|
||||||
#TabsToolbar {
|
|
||||||
visibility: collapse !important;
|
|
||||||
}
|
|
||||||
#navigator-toolbox:not(:hover):not(:focus-within):has(#toolbar-menubar[inactive]) {
|
|
||||||
margin-top: -36px;
|
|
||||||
}
|
|
||||||
browser[type="content-primary"],
|
|
||||||
browser[type="content"],
|
|
||||||
.browserContainer {
|
|
||||||
background-color: #${base16.base01} !important;
|
|
||||||
background: #${base16.base01} !important;
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
userContent = ''
|
userContent = ''
|
||||||
body:-moz-only-whitespace {
|
body:-moz-only-whitespace {
|
||||||
--body-bg-color: #${base16.base01};
|
--body-bg-color: #${base16.base01};
|
||||||
@@ -407,12 +424,7 @@ in
|
|||||||
]
|
]
|
||||||
++ lib.optionals osConfig.custom.hardware.nvidia.enable [ (import ./config/nvidia-fixes.nix) ]
|
++ lib.optionals osConfig.custom.hardware.nvidia.enable [ (import ./config/nvidia-fixes.nix) ]
|
||||||
);
|
);
|
||||||
userChrome = ''
|
userChrome = userChrome;
|
||||||
/* Hide tab bar. Used with Sidebery */
|
|
||||||
#TabsToolbar {
|
|
||||||
visibility: collapse !important;
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
|
extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||||
clearurls
|
clearurls
|
||||||
darkreader
|
darkreader
|
||||||
@@ -432,12 +444,7 @@ in
|
|||||||
shit = {
|
shit = {
|
||||||
name = "trade-privacy-for-convenience";
|
name = "trade-privacy-for-convenience";
|
||||||
id = 1;
|
id = 1;
|
||||||
userChrome = ''
|
userChrome = userChrome;
|
||||||
/* Hide tab bar. Used with Sidebery */
|
|
||||||
#TabsToolbar {
|
|
||||||
visibility: collapse !important;
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
settings = merge (
|
settings = merge (
|
||||||
[
|
[
|
||||||
(import ./config/preferences.nix)
|
(import ./config/preferences.nix)
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
plugins = with pkgs.obs-studio-plugins; [
|
plugins = with pkgs.obs-studio-plugins; [
|
||||||
obs-pipewire-audio-capture
|
obs-pipewire-audio-capture
|
||||||
|
obs-backgroundremoval
|
||||||
];
|
];
|
||||||
enableVirtualCamera = true;
|
enableVirtualCamera = true;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user