fix(firefox): use theme new tab background
This commit is contained in:
parent
e75165e5c0
commit
be1ce9fdf1
2 changed files with 7 additions and 4 deletions
|
@ -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 ./
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue