diff --git a/metallaxis/modules/firefox.nix b/metallaxis/modules/firefox.nix index 136933c..5b89dfc 100644 --- a/metallaxis/modules/firefox.nix +++ b/metallaxis/modules/firefox.nix @@ -25,6 +25,27 @@ ######################## ## Behaviour ## + # Enable Firefox's modern sidebar + "sidebar.revamp" = true; + # Enable vertical tabs + "sidebar.verticalTabs" = true; + # Sidebar state + "sidebar.backupState" = builtins.toJSON { + command = ""; + panelOpen = false; + bookmarksExpandedFolders = [ ]; + launcherWidth = 138; + expandedLauncherWidth = 138; + launcherExpanded = true; + launcherVisible = true; + pinnedTabsHeight = 44; + collapsedPinnedTabsHeight = 44; + toolsHeight = 0; + collapsedToolsHeight = 0; + }; + # Drag to pin promo dismissed + "sidebar.verticalTabs.dragToPinPromo.dismissed" = true; + # Check whether File is the default browser on startup "browser.shell.checkDefaultBrowser" = false; @@ -133,12 +154,14 @@ ]; toolbar-menubar = [ "menubar-items" ]; TabsToolbar = [ + # For horizontal tabs + # "tabbrowser-tabs" + # "new-tab-button" + # "customizableui-special-spring3" + ]; + vertical-tabs = [ "tabbrowser-tabs" - "new-tab-button" - "customizableui-special-spring3" - "alltabs-button" ]; - vertical-tabs = [ ]; PersonalToolbar = [ "personal-bookmarks" ]; }; seen = [ @@ -146,12 +169,19 @@ "screenshot-button" "ublock0_raymondhill_net-browser-action" "_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action" + "reset-pbm-toolbar-button" + "smartwindow-group-tabs-button" + "ai-window-toggle" ]; dirtyAreaCache = [ - "nav-bar" "TabsToolbar" "vertical-tabs" - "unified-extensions-area" "toolbar-menubar" "PersonalToolbar" + "nav-bar" + "TabsToolbar" + "vertical-tabs" + "unified-extensions-area" + "toolbar-menubar" + "PersonalToolbar" ]; - currentVersion = 26; + currentVersion = 28; newElementCount = 6; };