diff --git a/configuration.nix b/configuration.nix index 90fd320..a35a644 100644 --- a/configuration.nix +++ b/configuration.nix @@ -493,6 +493,7 @@ in SDL_IM_MODULE = "fcitx"; GLFW_IM_MODULE = "ibus"; # Some applications use GLFW INPUT_METHOD = "fcitx"; + MOZ_USE_XINPUT2 = "1"; }; xdg.portal = { diff --git a/home.nix b/home.nix index 776c408..a873e7b 100644 --- a/home.nix +++ b/home.nix @@ -1282,6 +1282,14 @@ in # Privacy "privacy.resistFingerprinting" = true; "dom.security.https_only_mode" = true; + + "general.smoothScroll" = true; + "general.smoothScroll.mouseWheel" = true; + "mousewheel.min_line_scroll_amount" = 10; + "mousewheel.default.delta_multiplier_y" = 300; + "apz.gtk.kinetic_scroll.enabled" = true; # for kinetic scrolling + "apz.gtk.kinetic_scroll.priming_enabled" = true; + "apz.gtk.kinetic_scroll.animation_duration_ms" = 500; }; userChrome = ''