tv firefox: MOZ_USE_XINPUT2=1 when TOUCHSCREEN==1

This commit is contained in:
tv 2023-01-23 16:43:21 +01:00
parent cb796ce05b
commit ef6ddd1de3

View File

@ -1,5 +1,8 @@
{ pkgs }:
pkgs.writeDashBin "ff" ''
case $TOUCHSCREEN in 1)
export MOZ_USE_XINPUT2=1
esac
exec ${pkgs.firefox}/bin/firefox "$@"
''