Compare commits

...

2 commits

3 changed files with 10 additions and 4 deletions

View file

@ -38,4 +38,7 @@ slot {
:root:not([chromehidden~="toolbar"]) #PersonalToolbar { :root:not([chromehidden~="toolbar"]) #PersonalToolbar {
margin-top: -103.5px !important; margin-top: -103.5px !important;
} }
:root[privatebrowsingmode]:not([chromehidden~="toolbar"]) #PersonalToolbar {
margin-top: -106.5px !important;
}
} }

View file

@ -17,6 +17,9 @@ stdenvNoCC.mkDerivation {
# Personal changes # Personal changes
sed -i 's/var(--fuchsia))/var(--purple))/' ./chrome/components/ogx_root-personal.css sed -i 's/var(--fuchsia))/var(--purple))/' ./chrome/components/ogx_root-personal.css
substituteInPlace ./chrome/components/ogx_root-personal.css \
--replace '../images/newtab/wallpaper-dark.png' "$out/chrome/images/newtab/private-dark.png"
mv ./Extras/Tab-Shapes/ogx_tab-shapes.css ./chrome/components mv ./Extras/Tab-Shapes/ogx_tab-shapes.css ./chrome/components
rm ./user.js rm ./user.js
mv ./Extras/Tab-Shapes/user.js ./ mv ./Extras/Tab-Shapes/user.js ./

View file

@ -6,9 +6,10 @@
in in
{ {
home.file = { home.file = {
".mozilla/firefox/matt/chrome/components".source = "${firefox-gx}/chrome/components"; ".mozilla/firefox/matt/chrome/components".source = "${firefox-gx}/chrome/components";
".mozilla/firefox/matt/chrome/icons".source = "${firefox-gx}/chrome/icons"; ".mozilla/firefox/matt/chrome/icons".source = "${firefox-gx}/chrome/icons";
".mozilla/firefox/matt/chrome/images".source = "${firefox-gx}/chrome/images"; ".mozilla/firefox/matt/chrome/images".source = "${firefox-gx}/chrome/images";
".mozilla/firefox/matt/chrome/userContent.css".source = "${firefox-gx}/chrome/userContent.css";
}; };
programs.firefox = { programs.firefox = {
@ -21,7 +22,6 @@ in
${builtins.readFile "${firefox-gx}/chrome/userChrome.css"} ${builtins.readFile "${firefox-gx}/chrome/userChrome.css"}
${builtins.readFile ./custom.css} ${builtins.readFile ./custom.css}
''; '';
userContent = builtins.readFile "${firefox-gx}/chrome/userContent.css";
extraConfig = builtins.readFile "${firefox-gx}/user.js"; extraConfig = builtins.readFile "${firefox-gx}/user.js";
settings = { settings = {