Migrate to snowfall lib
This commit is contained in:
22
modules/home/gui/apps/firefox/default.nix
Executable file
22
modules/home/gui/apps/firefox/default.nix
Executable file
@ -0,0 +1,22 @@
|
||||
{ lib, config, ... }: {
|
||||
config = lib.mkIf (config.homecfg.make.gui) {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
main = {
|
||||
id = 0;
|
||||
settings = {
|
||||
"browser.uidensity" = 1;
|
||||
"privacy.trackingprotection.enabled" = true;
|
||||
"privacy.trackingprotection.socialtracking.enabled" = true;
|
||||
"privacy.trackingprotection.socialtracking.annotate.enabled" = true;
|
||||
"services.sync.declinedEngines" = "passwords";
|
||||
"services.sync.engine.passwords" = false;
|
||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||
};
|
||||
userChrome = builtins.readFile ./userChrome.css;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
14
modules/home/gui/apps/firefox/userChrome.css
Executable file
14
modules/home/gui/apps/firefox/userChrome.css
Executable file
@ -0,0 +1,14 @@
|
||||
#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar > .toolbar-items {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
#main-window:not([tabsintitlebar="true"]) #TabsToolbar {
|
||||
visibility: collapse !important;
|
||||
}
|
||||
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
|
||||
display: none;
|
||||
}
|
||||
.tab {
|
||||
margin-left: 1px;
|
||||
margin-right: 1px;
|
||||
}
|
Reference in New Issue
Block a user