ephemeral-garden/setup.sh
2018-05-22 17:32:11 +00:00

24 lines
602 B
Bash
Executable file

#!/bin/bash
export DISPLAY=:0
#export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
#export XDG_RUNTIME_DIR=/run/user/1001
export JACK_NO_AUDIO_RESERVATION=1
port=57110
echo "ephemeral: ------------------------------------------------------------"
echo "ephemeral: `/bin/date`"
echo "ephemeral: as user `whoami`"
#echo "ephemeral: with env -> `env`"
echo "ephemeral: scythe..."
killall sclang
sleep 5
echo "ephemeral: sclang starting..."
/usr/local/bin/sclang /home/foam/ephemeral-garden/ephemera-loop.sc 2>&1 >> /home/foam/ephemeral-garden/test.log
echo "ephemeral: sclang spawned..."