summarylogtreecommitdiffstats
path: root/superhexagon.sh
diff options
context:
space:
mode:
Diffstat (limited to 'superhexagon.sh')
-rwxr-xr-xsuperhexagon.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/superhexagon.sh b/superhexagon.sh
new file mode 100755
index 000000000000..c098283c4c95
--- /dev/null
+++ b/superhexagon.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# Provide a chance to configure GLUT. For an example, see
+# /opt/superhexagon/superhexagonrc.example
+CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}"
+test -f "$CONFIG" && . "$CONFIG"
+
+cd /opt/superhexagon
+exec ./superhexagon