stockholm/tv/5pkgs/simple/ff.nix

9 lines
142 B
Nix

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