From cd9c3abef2c1f8a38a46304ab15d7c508eded5d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Mon, 16 Jun 2025 19:25:17 +0200 Subject: [PATCH] vanadium/firefox: better scroll config --- nix/configurations/vanadium/home/firefox.nix | 3 +++ nix/homeModules/common/firefox.nix | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/nix/configurations/vanadium/home/firefox.nix b/nix/configurations/vanadium/home/firefox.nix index a362ee59..9e07b203 100644 --- a/nix/configurations/vanadium/home/firefox.nix +++ b/nix/configurations/vanadium/home/firefox.nix @@ -129,6 +129,9 @@ in { ''; settings = { "layout.css.has-selector.enabled" = true; + + "apz.gtk.kinetic_scroll.enabled" = true; # vanadium has a trackpad + "apz.fling_friction" = 0.003; # originally 0.002 }; extensions.packages = let addons = nur.repos.rycee.firefox-addons; diff --git a/nix/homeModules/common/firefox.nix b/nix/homeModules/common/firefox.nix index d298be92..062dee5e 100644 --- a/nix/homeModules/common/firefox.nix +++ b/nix/homeModules/common/firefox.nix @@ -39,7 +39,6 @@ in { "browser.tabs.loadInBackground" = true; "browser.ctrlTab.sortByRecentlyUsed" = false; "layout.css.devPixelsPerPx" = 1.1; - "apz.gtk.kinetic_scroll.enabled" = false; # disable trackpad inertia "full-screen-api.ignore-widgets" = true; # limit fullscreen mode to window };