# Firefox
programs.firefox = {
enable = true;
languagePacks = [ "de" ];
profiles.default = {
isDefault = true;
settings = {
"widget.use-xdg-desktop-portal.file-picker" = 2;
"browser.tabs.loadBookmarksInTabs" = true;
"dom.private-attribution.submission.enabled" = false;
"dom.event.clipboardevents.enabled" = false;
"privacy.donottrackheader.enabled" = true;
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
};
# 3-Farben-Design
userChrome = ''
/* 1. GLOBALE VARIABLEN */
:root {
--toolbar-bgcolor: #282C34 !important;
--lwt-accent-color: #282C34 !important;
--lwt-selected-tab-background-color: #282C34 !important;
--toolbar-field-background-color: #282C34 !important;
--toolbar-field-focus-background-color: #282C34 !important;
--toolbar-color: #ABB2BF !important;
--toolbarbutton-icon-fill: #ABB2BF !important;
--lwt-toolbar-field-color: #ABB2BF !important;
}
/* HINTERGRÜNDE */
#TabsToolbar, #nav-bar, #PersonalToolbar, #urlbar-background {
background-color: #282C34 !important;
background-image: none !important;
border: none !important;
box-shadow: none !important;
}
/* SYMBOLE & TEXT */
.toolbarbutton-icon,
.toolbarbutton-badge-stack,
#urlbar-icons image,
#identity-box image,
.bookmark-item .toolbarbutton-icon {
fill: #ABB2BF !important;
color: #ABB2BF !important;
}
/* Adressleistentext und Lesezeichentext */
#urlbar-input, .bookmark-item .toolbarbutton-text {
color: #ABB2BF !important;
}
/* TAB-DESIGN */
.tabbrowser-tab[selected] .tab-label {
color: #F2610D !important;
font-weight: bold;
}
.tabbrowser-tab:not([selected]) .tab-label {
color: #ABB2BF !important;
}
.tab-background {
background-color: #282C34 !important;
border: none !important;
box-shadow: none !important;
}
/* UI-BALLAST ENTFERNEN */
.titlebar-buttonbox-container,
#TabsToolbar .titlebar-spacer,
#alltabs-button,
.tab-close-button {
display: none !important;
}
#nav-bar {
border-top: none !important;
box-shadow: none !important;
}
'';
};
};