summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-01-23 16:43:21 +0100
committertv <tv@krebsco.de>2023-01-23 18:27:04 +0100
commitef6ddd1de3f39623d3c7bfa8ec4c616ac6b9fae2 (patch)
tree9833a5d4c494bbfe692bf5d6dcc299b2129c16bd /tv
parentcb796ce05b00bbdc3fc6d4109483f1bd257cc147 (diff)
tv firefox: MOZ_USE_XINPUT2=1 when TOUCHSCREEN==1
Diffstat (limited to 'tv')
-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 "$@"
''