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
commit12ce335c25ade0c6d3ce152ee0a8b5aa374a5441 (patch)
treec3ab27b74826a928e97a6bd636ea2069e9b4dbda /tv
parent219adaf12effed0aa3bbe36520a0c784d55475fa (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 4ce9c3c..b6022c6 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 "$@"
''