firefox: remove unused config

This commit is contained in:
Leonardo Eugênio 2025-05-24 01:46:00 -03:00
parent 2c70a0e7de
commit fba64d3863
No known key found for this signature in database
GPG key ID: 2F8F21CE8721456B

View file

@ -1,18 +1,10 @@
{ {
config, config,
pkgs, pkgs,
lib,
... ...
}: }:
let let
inherit (config.my) desktop;
inherit (config.my.theme) color; inherit (config.my.theme) color;
swayCustomization = ''
#titlebar { display: none !important; }
#TabsToolbar { display: none !important; }
#sidebar-header { display: none !important; }
'';
in in
{ {
config = { config = {
@ -27,7 +19,6 @@ in
settings = { settings = {
"devtools.theme" = "auto"; "devtools.theme" = "auto";
"toolkit.legacyUserProfileCustomizations.stylesheets" = true; "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"browser.tabs.inTitlebar" = if desktop == "sway" then 0 else 1;
"sidebar.position_start" = false; # Move sidebar to the right "sidebar.position_start" = false; # Move sidebar to the right
# enable media RDD to allow gpu acceleration # enable media RDD to allow gpu acceleration
@ -57,8 +48,6 @@ in
"devtools.debugger.remote-enabled" = true; "devtools.debugger.remote-enabled" = true;
}; };
userChrome = '' userChrome = ''
${lib.optionalString (desktop == "sway") swayCustomization}
#sidebar-main { #sidebar-main {
background-color: ${color.bg}; background-color: ${color.bg};
} }