mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
home/firefox: set MOZ_USE_XINPUT2=1
This commit is contained in:
parent
4880deb6b7
commit
7e5116f55d
2 changed files with 4 additions and 2 deletions
|
|
@ -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 =
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue