From 378163bab4b4210448aae572660a56b0e16695f8 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Thu, 2 Dec 2021 00:06:32 -0500 Subject: [PATCH] Fixed touch screen for firefox --- modules/applications/firefox.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/applications/firefox.nix b/modules/applications/firefox.nix index b5d7f14..58f4766 100644 --- a/modules/applications/firefox.nix +++ b/modules/applications/firefox.nix @@ -1,11 +1,17 @@ { config, pkgs, ... }: { + home-manager.users.james = { + + # Enable touch controls. + home.sessionVariables = { MOZ_USE_XINPUT2 = 1; }; + programs.firefox = { enable = true; package = pkgs.firefox.override { cfg = { enableTridactylNative = true; + # TODO make this general based on the whether sway is being used. forceWayland = true; }; };