Fix firefox
This commit is contained in:
parent
c88bbea690
commit
663668b584
2 changed files with 8 additions and 10 deletions
|
@ -1,9 +1,5 @@
|
|||
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
||||
/* Variables that start with --gnome- are added by me and are assigned
|
||||
* to elements somewhere in this code. The rest of the variables are
|
||||
* built-in in Firefox, so you need to add an !important if you wanna
|
||||
* override them. */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
/* Browser area before a page starts loading */
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
self,
|
||||
...
|
||||
}: {
|
||||
# From https://hedgedoc.grimmauld.de/s/rVnTq0-Rs
|
||||
|
@ -29,11 +29,12 @@
|
|||
});
|
||||
});
|
||||
|
||||
systemd.tmpfiles.settings.firefox = {
|
||||
"/home/quadradical/.mozilla/firefox/quadradical/chrome"."D".user = "quadradical";
|
||||
"/home/quadradical/.mozilla/firefox/quadradical/chrome/userChrome.css"."f+".argument = "@import '${self}/nord.css';@import '${inputs.firefox-gnome-theme}/userChrome.css';";
|
||||
"/home/quadradical/.mozilla/firefox/quadradical/chrome/userContent.css"."f+".argument = "@import '${inputs.firefox-gnome-theme}/userContent.css'";
|
||||
};
|
||||
systemd.tmpfiles.settings.firefox."/home/quadradical/.mozilla/firefox/quadradical/chrome"."L+".argument =
|
||||
toString
|
||||
(pkgs.symlinkJoin {
|
||||
name = "firefox-gnome-theme";
|
||||
paths = [./. inputs.firefox-gnome-theme];
|
||||
});
|
||||
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
|
@ -133,6 +134,7 @@
|
|||
};
|
||||
|
||||
Preferences = {
|
||||
"gnomeTheme.oledBlack" = true; # Enable nord theme
|
||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||
"browser.uiCustomization.state" = "{\"placements\":{\"widget-overflow-fixed-list\":[],\"unified-extensions-area\":[],\"nav-bar\":[\"back-button\",\"forward-button\",\"stop-reload-button\",\"urlbar-container\",\"downloads-button\"],\"toolbar-menubar\":[\"menubar-items\"],\"TabsToolbar\":[\"tabbrowser-tabs\",\"new-tab-button\",\"alltabs-button\"],\"PersonalToolbar\":[\"personal-bookmarks\"]},\"seen\":[\"save-to-pocket-button\",\"developer-button\"],\"dirtyAreaCache\":[\"nav-bar\",\"PersonalToolbar\",\"toolbar-menubar\",\"TabsToolbar\"],\"currentVersion\":19}";
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue