summarylogtreecommitdiffstats
path: root/igv_hidpi.sh
blob: 42e91be993269cd76cbc679ee9de3430d58e2c68 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
LANG=C phymem=$(free -m | awk '/^Mem:/{print $2}')
igvmem=$(($phymem / 3))
archlinux-java-run --min 11 --max 11 -- \
  -Xmx${igvmem}m \
  @"/usr/share/java/igv/igv.args" \
  -Dapple.laf.useScreenMenuBar=true \
  -Djava.net.preferIPv4Stack=true \
  -Dsun.java2d.uiScale=2 \
  --module-path=/usr/share/java/igv/lib \
  --module=org.igv/org.broad.igv.ui.Main "$@"