fix(firefox): use theme new tab background

This commit is contained in:
matt1432 2023-10-10 15:34:34 -04:00
parent e75165e5c0
commit be1ce9fdf1
2 changed files with 7 additions and 4 deletions

View file

@ -17,6 +17,9 @@ stdenvNoCC.mkDerivation {
# Personal changes
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
rm ./user.js
mv ./Extras/Tab-Shapes/user.js ./

View file

@ -6,9 +6,10 @@
in
{
home.file = {
".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";
".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";
".mozilla/firefox/matt/chrome/userContent.css".source = "${firefox-gx}/chrome/userContent.css";
};
programs.firefox = {
@ -21,7 +22,6 @@ in
${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 = {