From ef6ddd1de3f39623d3c7bfa8ec4c616ac6b9fae2 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 23 Jan 2023 16:43:21 +0100 Subject: tv firefox: MOZ_USE_XINPUT2=1 when TOUCHSCREEN==1 --- tv/5pkgs/simple/ff.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tv') diff --git a/tv/5pkgs/simple/ff.nix b/tv/5pkgs/simple/ff.nix index 4ce9c3c7..b6022c6c 100644 --- a/tv/5pkgs/simple/ff.nix +++ b/tv/5pkgs/simple/ff.nix @@ -1,5 +1,8 @@ { pkgs }: pkgs.writeDashBin "ff" '' + case $TOUCHSCREEN in 1) + export MOZ_USE_XINPUT2=1 + esac exec ${pkgs.firefox}/bin/firefox "$@" '' -- cgit v1.2.3