chore: update firefox theme and settings
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-02-21 14:36:13 -05:00
parent 4a2db4c066
commit 2892344f9b
2 changed files with 24 additions and 28 deletions

View file

@ -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;

View file

@ -2,17 +2,15 @@
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=";
}; };
@ -22,7 +20,7 @@ in
# 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