Fixed touch screen for firefox

This commit is contained in:
James Patrick 2021-12-02 00:06:32 -05:00
parent b29099a84b
commit 378163bab4

View File

@ -1,11 +1,17 @@
{ config, pkgs, ... }: { { config, pkgs, ... }: {
home-manager.users.james = { home-manager.users.james = {
# Enable touch controls.
home.sessionVariables = { MOZ_USE_XINPUT2 = 1; };
programs.firefox = { programs.firefox = {
enable = true; enable = true;
package = pkgs.firefox.override { package = pkgs.firefox.override {
cfg = { cfg = {
enableTridactylNative = true; enableTridactylNative = true;
# TODO make this general based on the whether sway is being used.
forceWayland = true; forceWayland = true;
}; };
}; };