simndt2/bin/simndt.sh

17 lines
263 B
Bash
Raw Normal View History

2024-08-28 21:58:13 +02:00
#!/bin/bash
DPI=`xrdb -query | grep dpi`
DPI=${DPI/*:/}
if [ "X$DPI" == "X" ]
then
DPI=96
fi
if [ $DPI -gt 100 ]
then
export HIGH_DPI=1
fi
TOP=$HOME/proj/SimNDT
export LD_LIBRARY_PATH=$HOME/.local/lib/python2.7/site-packages/PySide
python2 $TOP/src/main.py