packages.firefox: switch to lepton

This commit is contained in:
2024-02-16 15:32:26 +08:00
parent 7d584a6563
commit 983decc8c1
3 changed files with 21 additions and 3 deletions

17
flake.lock generated
View File

@@ -970,6 +970,22 @@
"type": "github"
}
},
"lepton": {
"flake": false,
"locked": {
"lastModified": 1707757295,
"narHash": "sha256-KvwLiJFbe+YHjuEz9c/NV/eTMiQamRUQ2fAGY6piw8Y=",
"owner": "black7375",
"repo": "Firefox-UI-Fix",
"rev": "a25a08819ad36b3601a23123458edded0d849f7e",
"type": "github"
},
"original": {
"owner": "black7375",
"repo": "Firefox-UI-Fix",
"type": "github"
}
},
"linux-surface": {
"flake": false,
"locked": {
@@ -1854,6 +1870,7 @@
"fluent-kde": "fluent-kde",
"home-manager": "home-manager",
"impermanence": "impermanence",
"lepton": "lepton",
"linux-surface": "linux-surface",
"lmix": "lmix",
"matplotplusplus": "matplotplusplus",

View File

@@ -64,6 +64,7 @@
blurred-wallpaper = { url = "github:bouteillerAlan/blurredwallpaper"; flake = false; };
slate = { url = "github:TheBigWazz/Slate"; flake = false; };
linux-surface = { url = "github:linux-surface/linux-surface"; flake = false; };
lepton = { url = "github:black7375/Firefox-UI-Fix"; flake = false; };
};
outputs = inputs:

View File

@@ -31,9 +31,9 @@ inputs:
)
];
search = { default = "Google"; force = true; };
userChrome = builtins.concatStringsSep "\n" (builtins.map
(file: builtins.readFile "${inputs.topInputs.cascade}/chrome/includes/cascade-${file}.css")
[ "config-mouse" "colours" "layout" "responsive" "floating-panel" "nav-bar" "tabs" ]);
userChrome = builtins.readFile "${inputs.topInputs.lepton}/userChrome.css";
userContent = builtins.readFile "${inputs.topInputs.lepton}/userContent.css";
extraConfig = builtins.readFile "${inputs.topInputs.lepton}/user.js";
settings =
{
# general