[Init]
This commit is contained in:
23
home/gui/firefox/default.nix
Executable file
23
home/gui/firefox/default.nix
Executable file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
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
home/gui/firefox/userChrome.css
Executable file
14
home/gui/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