theming
This commit is contained in:
parent
448372de7a
commit
ffa3121602
11 changed files with 243 additions and 38 deletions
|
@ -31,7 +31,7 @@
|
|||
profiles.xun = {
|
||||
extensions = with config.nur.repos.rycee.firefox-addons; [
|
||||
ublock-origin
|
||||
darkreader
|
||||
(lib.mkIf (config.xun.desktop.colorscheme == "dark") darkreader)
|
||||
sponsorblock
|
||||
tridactyl
|
||||
translate-web-pages
|
||||
|
@ -49,7 +49,28 @@
|
|||
})
|
||||
];
|
||||
userChrome = builtins.readFile ./userChrome.css;
|
||||
# extraConfig = let
|
||||
# inherit (config.xun.desktop) colorscheme;
|
||||
# in
|
||||
# lib.mkIf (colorscheme != null)
|
||||
# "browser.management.setEnabled(\"${
|
||||
# if colorscheme == "dark"
|
||||
# then "{30756de5-da3b-43c4-8b35-1db7bb01680a}"
|
||||
# else if colorscheme == "light"
|
||||
# then "firefox-compact-light@mozilla.org"
|
||||
# else null
|
||||
# }\", true);";
|
||||
settings = {
|
||||
"extensions.activeThemeID" = let
|
||||
inherit (config.xun.desktop) colorscheme;
|
||||
in
|
||||
lib.mkIf (colorscheme != null) (
|
||||
if colorscheme == "dark"
|
||||
then "{30756de5-da3b-43c4-8b35-1db7bb01680a}"
|
||||
else if colorscheme == "light"
|
||||
then "firefox-compact-light@mozilla.org"
|
||||
else null
|
||||
);
|
||||
"browser.display.use_system_colors" = true; # about:blank colour match colourscheme
|
||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true; # enable userChrome
|
||||
"browser.tabs.inTitleBar" = "0"; # use system title bar
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
|
||||
/* Hide tab bar */
|
||||
#TabsToolbar {
|
||||
display: none;
|
||||
/* display: none; */
|
||||
visibility: collapse;
|
||||
}
|
||||
|
||||
/* urlbar same color as background */
|
||||
|
@ -17,3 +18,8 @@
|
|||
#navigator-toolbox {
|
||||
border-bottom: none !important;
|
||||
}
|
||||
|
||||
/* Hide shield thing since i never ever change those settings */
|
||||
#tracking-protection-icon-container {
|
||||
visibility: collapse;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue