diff options
Diffstat (limited to 'next.sh')
-rw-r--r-- | next.sh | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,4 +1,15 @@ #!/bin/bash +# Put your SDL2 Config string into this file so it gets automatically set at start +file="$HOME/neXt/controllerconfigs.txt" +if [ -e "$file" ]; then + contents="`cat $file`"; + export SDL_GAMECONTROLLERCONFIG="$contents"; + echo "Set SDL_GAMECONTROLLERCONFIG to $contents"; +else + echo "No ~/neXt/controllerconfigs.txt found"; +fi; + + cd /opt/next/ ./neXt.x86_64 || ./neXt.x86 |