summaryrefslogtreecommitdiffstats
path: root/pkgs/simple/ff.nix
blob: b6022c6ca040b0340a790116cdc08b5d0c0baa54 (plain)
1
2
3
4
5
6
7
8
{ pkgs }:

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