aboutsummaryrefslogtreecommitdiffstats
path: root/bin/sclang
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2013-11-20 14:59:27 +0100
committerDavid Runge <david.runge@frqrec.com>2013-11-20 14:59:27 +0100
commit66b34bd55ab363ba4e2ed6dcf169d1277cc72aab (patch)
treeb1865bd27a39b7ccfcad8dbad567848c8559b0c9 /bin/sclang
parent4ab06204c651890facf2ed62a739283993b1a0f0 (diff)
downloaddotfiles-66b34bd55ab363ba4e2ed6dcf169d1277cc72aab.tar.gz
dotfiles-66b34bd55ab363ba4e2ed6dcf169d1277cc72aab.tar.bz2
dotfiles-66b34bd55ab363ba4e2ed6dcf169d1277cc72aab.tar.xz
dotfiles-66b34bd55ab363ba4e2ed6dcf169d1277cc72aab.zip
Updated PATH settings and some scripts in ~/bin
Diffstat (limited to 'bin/sclang')
-rwxr-xr-xbin/sclang9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/sclang b/bin/sclang
new file mode 100755
index 0000000..0e6161f
--- /dev/null
+++ b/bin/sclang
@@ -0,0 +1,9 @@
+#!/bin/zsh
+echo "$HOST"
+if [[ $HOST == *dvzrv* ]]; then
+ echo "/usr/bin/sclang"
+ /usr/bin/sclang
+else
+ echo "/usr/bin/sclang in fake X screen"
+ /usr/bin/xvfb-run --server-args="-screen 0, 1280x800x24" /usr/bin/sclang
+fi