summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs/simple/ff.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tv/5pkgs/simple/ff.nix')
-rw-r--r--tv/5pkgs/simple/ff.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/tv/5pkgs/simple/ff.nix b/tv/5pkgs/simple/ff.nix
index 4ce9c3c75..b6022c6ca 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 "$@"
''