feat: update firefox to 119
This commit is contained in:
parent
c6ffaf1b54
commit
51b33d4ab1
6 changed files with 98 additions and 101 deletions
modules/firefox
|
@ -4,31 +4,32 @@
|
|||
display: none !important;
|
||||
}
|
||||
|
||||
#appMenu-popup {
|
||||
position: fixed !important;
|
||||
top: 0px !important;
|
||||
left: 0px !important;
|
||||
margin: 0 !important;
|
||||
/* https://github.com/Godiesc/firefox-gx/blob/main/Tricks/README.md */
|
||||
/* Extensions button into the "left-sidebar" - Immovable */
|
||||
|
||||
:root:not([chromehidden~="toolbar"],[sizemode="fullscreen"]) #PersonalToolbar {
|
||||
--padding-top-left-sidebar: 110px !important; /* 182px to one-line config */
|
||||
}
|
||||
|
||||
#appMenu-popup panelview {
|
||||
border-width: 2px 6px !important;
|
||||
border-radius: 5% 0 0 5% !important;
|
||||
border-image: var(--panel-separator-zap-gradient4) 1 !important;
|
||||
:root:not([chromehidden~="toolbar"], [sizemode="fullscreen"]) #unified-extensions-button {
|
||||
--toolbarbutton-hover-background: transparent !important;
|
||||
--toolbarbutton-active-background: transparent !important;
|
||||
position: fixed;
|
||||
display: flex;
|
||||
top: 50px !important;
|
||||
left: inherit !important;
|
||||
z-index: 2 !important;
|
||||
fill: var(--general-color) !important;
|
||||
width: calc(var(--uc-vertical-toolbar-width) - 4px) !important;
|
||||
}
|
||||
|
||||
#unified-extensions-panel panelview {
|
||||
border-width: 0 !important;
|
||||
border-radius: 0px !important;
|
||||
:root:not([chromehidden~="toolbar"], [sizemode="fullscreen"]) #unified-extensions-button:hover,
|
||||
:root:not([chromehidden~="toolbar"], [sizemode="fullscreen"]) #unified-extensions-button[open] {
|
||||
transform: scale(1.12) !important;
|
||||
transition: ease-in-out !important;
|
||||
}
|
||||
|
||||
slot {
|
||||
margin: 0 !important;
|
||||
border-radius: 5% 0 0 5% !important;
|
||||
}
|
||||
|
||||
@media screen {
|
||||
:root:not([chromehidden~="toolbar"]) #PersonalToolbar {
|
||||
margin-top: -106.5px !important;
|
||||
}
|
||||
:root:not([chromehidden~="toolbar"], [sizemode="fullscreen"]) #unified-extensions-button:active {
|
||||
transform: scale(1.0) !important;
|
||||
transition-duration: 0ms !important;
|
||||
}
|
||||
|
|
|
@ -25,12 +25,20 @@ in
|
|||
extraConfig = builtins.readFile "${firefox-gx}/user.js";
|
||||
|
||||
settings = {
|
||||
# Theme
|
||||
"firefoxgx.tab-shapes" = true;
|
||||
"firefoxgx.left-sidebar" = true;
|
||||
"userChrome.tab.bottom_rounded_corner" = true;
|
||||
"userChrome.tab.bottom_rounded_corner.wave" = false;
|
||||
"userChrome.tab.bottom_rounded_corner.australis" = true;
|
||||
|
||||
# Open previous windows and tabs
|
||||
"browser.startup.page" = 3;
|
||||
|
||||
# Prefs
|
||||
"layout.css.devPixelsPerPx" = 1.12;
|
||||
"browser.tabs.firefox-view" = false;
|
||||
"browser.tabs.firefox-view-next" = false;
|
||||
"browser.search.widget.inNavBar" = true;
|
||||
"browser.toolbars.bookmarks.visibility" = "always";
|
||||
"browser.toolbars.bookmarks.showInPrivateBrowsing" = true;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ lib, stdenvNoCC, fetchFromGitHub }:
|
||||
let
|
||||
pname = "firefox-gx";
|
||||
version = "8.4";
|
||||
version = "8.5";
|
||||
in
|
||||
stdenvNoCC.mkDerivation {
|
||||
inherit pname version;
|
||||
|
@ -10,24 +10,17 @@ stdenvNoCC.mkDerivation {
|
|||
owner = "Godiesc";
|
||||
repo = pname;
|
||||
rev = "v.${version}";
|
||||
sha256 = "sha256-Izb2dLIThLAXJ+Z6fNyRli3v3kV1upyDY0wA2VNVi+o=";
|
||||
sha256 = "sha256-llffq16PZz5GxkLIJDeWN1d04SCCJFqwCLzOrxgwhYI=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
# Personal changes
|
||||
sed -i 's/var(--fuchsia))/var(--purple))/' ./chrome/components/ogx_root-personal.css
|
||||
|
||||
# Fix new tab background for nix
|
||||
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 ./
|
||||
sed -i 's/rounded_corner.chrome", true/rounded_corner.chrome", false/' ./user.js
|
||||
sed -i 's/rounded_corner.wave", false/rounded_corner.wave", true/' ./user.js
|
||||
|
||||
mv ./Extras/Left-SideBar/ogx_left-sidebar.css ./chrome/components
|
||||
|
||||
mkdir -p $out
|
||||
cp -r ./* $out
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue