summarylogtreecommitdiffstats
path: root/igv_hidpi.sh
blob: b7ad086c8ce5ae89b806df04303dd0bd6bb9dcb2 (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 17 --max 17 -- \
  -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 "$@"