aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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