chore: update firefox theme and settings
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
4a2db4c066
commit
2892344f9b
2 changed files with 24 additions and 28 deletions
|
@ -41,8 +41,6 @@ in {
|
||||||
|
|
||||||
# Prefs
|
# Prefs
|
||||||
"layout.css.devPixelsPerPx" = 1.12;
|
"layout.css.devPixelsPerPx" = 1.12;
|
||||||
"browser.tabs.firefox-view" = false;
|
|
||||||
"browser.tabs.firefox-view-next" = false;
|
|
||||||
"browser.search.widget.inNavBar" = true;
|
"browser.search.widget.inNavBar" = true;
|
||||||
"browser.toolbars.bookmarks.visibility" = "always";
|
"browser.toolbars.bookmarks.visibility" = "always";
|
||||||
"browser.toolbars.bookmarks.showInPrivateBrowsing" = true;
|
"browser.toolbars.bookmarks.showInPrivateBrowsing" = true;
|
||||||
|
|
|
@ -2,35 +2,33 @@
|
||||||
lib,
|
lib,
|
||||||
stdenvNoCC,
|
stdenvNoCC,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
}: let
|
}:
|
||||||
|
stdenvNoCC.mkDerivation rec {
|
||||||
pname = "firefox-gx";
|
pname = "firefox-gx";
|
||||||
version = "c1d9888d27543ded51f9854d7e58db601fd33d43";
|
version = "9.0";
|
||||||
in
|
|
||||||
stdenvNoCC.mkDerivation {
|
|
||||||
inherit pname version;
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Godiesc";
|
owner = "Godiesc";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-FCx5mADqrjAN27lLaZViOFGUNDg/2jpern8sem8u49w=";
|
sha256 = "sha256-FCx5mADqrjAN27lLaZViOFGUNDg/2jpern8sem8u49w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
# 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
|
||||||
|
|
||||||
# Fix new tab background for nix
|
# Fix new tab background for nix
|
||||||
substituteInPlace ./chrome/components/ogx_root-personal.css \
|
substituteInPlace ./chrome/components/ogx_root-personal.css \
|
||||||
--replace '../newtab/wallpaper-dark.png' "$out/chrome/newtab/private-dark.png"
|
--replace-fail '../newtab/wallpaper-dark.png' "$out/chrome/newtab/private-dark.png"
|
||||||
|
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp -r ./* $out
|
cp -r ./* $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Firefox Theme CSS to Opera GX Lovers";
|
description = "Firefox Theme CSS to Opera GX Lovers";
|
||||||
homepage = "https://github.com/Godiesc/firefox-gx";
|
homepage = "https://github.com/Godiesc/firefox-gx";
|
||||||
license = licenses.mspl;
|
license = licenses.mspl;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue