From 29004da42afba064495d3ebbc3c54e83865cb1ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Thu, 29 Jan 2026 17:16:50 +0100 Subject: [PATCH] home/{firefox,zen-browser}: add sensible configurations --- nix/homeModules/common/firefox.nix | 6 +++++- nix/homeModules/common/zen-browser.nix | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/nix/homeModules/common/firefox.nix b/nix/homeModules/common/firefox.nix index 4cbb38bb..27d93132 100644 --- a/nix/homeModules/common/firefox.nix +++ b/nix/homeModules/common/firefox.nix @@ -54,9 +54,13 @@ in "browser.ctrlTab.sortByRecentlyUsed" = false; "layout.css.devPixelsPerPx" = 1.1; "browser.startup.page" = 1; + "browser.link.open_newwindow" = 2; # open in new tab "browser.translations.automaticallyPopup" = false; "browser.tabs.closeWindowWithLastTab" = true; - "general.smoothScroll" = false; + "general.smoothScroll" = false; # makes me dizzy + "accessibility.typeaheadfind" = true; # type to find + "layout.css.always_underline_links" = true; + "media.videocontrols.picture-in-picture.enable-when-switching-tabs.enabled" = true; # Sponsored crap # Yes diff --git a/nix/homeModules/common/zen-browser.nix b/nix/homeModules/common/zen-browser.nix index 8ba46dd0..a9cecff2 100644 --- a/nix/homeModules/common/zen-browser.nix +++ b/nix/homeModules/common/zen-browser.nix @@ -27,6 +27,11 @@ in # Zen specific settings = { "zen.theme.content-element-separation" = 0; # Remove "borders" around window + "zen.tabs.show-newtab-vertical" = false; + "zen.view.compact.toolbar-flash-popup" = true; + "zen.view.show-newtab-button-top" = false; + "zen.view.use-single-toolbar" = false; + "zen.tabs.ctrl-tab.ignore-pending-tabs" = true; # ctrl-tab ignore unloaded tabs }; } ];