home/firefox: set MOZ_USE_XINPUT2=1

This commit is contained in:
Primrose 2025-08-10 23:31:22 +02:00
parent 4880deb6b7
commit 7e5116f55d
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 4 additions and 2 deletions

View file

@ -86,8 +86,6 @@ main = xmonad
io $ do io $ do
putEnv "GLFW_IM_MODULE=ibus" -- Make sure kitty knows how to talk to fcitx putEnv "GLFW_IM_MODULE=ibus" -- Make sure kitty knows how to talk to fcitx
putEnv "MOZ_USE_XINPUT2=1" -- Force touchpad for firefox
spawn "dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY" spawn "dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY"
, layoutHook = , layoutHook =

View file

@ -105,4 +105,8 @@ in {
"text/html" = ["firefox.desktop"]; "text/html" = ["firefox.desktop"];
}; };
}; };
home.sessionVariables = lib.mkIf cfg.enable {
MOZ_USE_XINPUT2 = "1"; # Better scrolling
};
} }