Fixed touch screen for firefox
This commit is contained in:
parent
b29099a84b
commit
378163bab4
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Reference in New Issue
Block a user