diff options
author | tv <tv@krebsco.de> | 2023-01-23 16:43:21 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2023-01-23 18:27:04 +0100 |
commit | 12ce335c25ade0c6d3ce152ee0a8b5aa374a5441 (patch) | |
tree | c3ab27b74826a928e97a6bd636ea2069e9b4dbda /tv | |
parent | 219adaf12effed0aa3bbe36520a0c784d55475fa (diff) |
tv firefox: MOZ_USE_XINPUT2=1 when TOUCHSCREEN==1
Diffstat (limited to 'tv')
-rw-r--r-- | tv/5pkgs/simple/ff.nix | 3 |
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 "$@" '' |