Fixed touch screen for firefox

This commit is contained in:
James Patrick 2021-12-02 00:06:32 -05:00
parent b29099a84b
commit 378163bab4
1 changed files with 6 additions and 0 deletions

View File

@ -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;
};
};