Compare commits

...

2 commits

3 changed files with 49 additions and 1 deletions

View file

@ -0,0 +1,35 @@
.browser-toolbar > * #alltabs-button,
#appMenu-fxa-status2,
#appMenu-fxa-separator {
display: none !important;
}
#unified-extensions-button {
display: flex;
left: calc(100vw - var(--uc-window-control-width) - 13px) !important;
top: var(--windowed-top-padding, -0.5px);
z-index: 3 !important;
}
#appMenu-popup {
position: fixed !important;
top: 0px !important;
left: 0px !important;
margin: 0 !important;
}
#appMenu-popup panelview {
border-width: 2px 6px !important;
border-radius: 5% 0 0 5% !important;
border-image: var(--panel-separator-zap-gradient4) 1 !important;
}
#unified-extensions-panel panelview {
border-width: 0 !important;
border-radius: 0px !important;
}
slot {
margin: 0 !important;
border-radius: 5% 0 0 5% !important;
}

View file

@ -23,6 +23,8 @@ stdenvNoCC.mkDerivation {
sed -i 's/rounded_corner.chrome", true/rounded_corner.chrome", false/' ./user.js
sed -i 's/rounded_corner.wave", false/rounded_corner.wave", true/' ./user.js
mv ./Extras/Left-SideBar/ogx_left-sidebar.css ./chrome/components
mv ./Extras/OneLine/ogx_oneline.css ./chrome/components
mkdir -p $out
cp -r ./* $out

View file

@ -6,7 +6,9 @@
in
{
home.file = {
".mozilla/firefox/matt/chrome".source = "${firefox-gx}/chrome";
".mozilla/firefox/matt/chrome/components".source = "${firefox-gx}/chrome/components";
".mozilla/firefox/matt/chrome/icons".source = "${firefox-gx}/chrome/icons";
".mozilla/firefox/matt/chrome/images".source = "${firefox-gx}/chrome/images";
};
programs.firefox = {
@ -15,14 +17,23 @@ in
isDefault = true;
id = 0;
userChrome = ''
${builtins.readFile "${firefox-gx}/chrome/userChrome.css"}
${builtins.readFile ./custom.css}
'';
userContent = builtins.readFile "${firefox-gx}/chrome/userContent.css";
extraConfig = builtins.readFile "${firefox-gx}/user.js";
settings = {
# Open previous windows and tabs
"browser.startup.page" = 3;
# Prefs
"layout.css.devPixelsPerPx" = 1.15;
"browser.tabs.firefox-view" = false;
"browser.search.widget.inNavBar" = true;
"browser.toolbars.bookmarks.visibility" = "always";
"browser.toolbars.bookmarks.showInPrivateBrowsing" = true;
# remove telemetry
"datareporting.policy.dataSubmissionEnabled" = false;