colab_automator.sh: replace xephyr, copyq and pip logs with echo's

master
EmaMaker 2021-08-29 22:03:35 +02:00
parent 8369526550
commit ce369f7f77
1 changed files with 8 additions and 4 deletions

View File

@ -5,16 +5,20 @@
source venv/bin/activate #switch to virtual env
# install and update requirements
pip install -r requirements.txt
pip install -r requirements.txt > /dev/null 2> /dev/null
#Start xephyr window
Xephyr -br -ac -noreset -screen 1280x720 :1 &
echo "[*] Starting Xephyr on :1"
Xephyr -br -ac -noreset -screen 1280x720 :1 > /dev/null 2> /dev/null &
sleep 5
DISPLAY=:1 Xephyr -br -ac -noreset -screen 800x600 :2 &
echo "[*] Starting Xephyr on :2, contained inside :1"
DISPLAY=:1 Xephyr -br -ac -noreset -screen 800x600 :2 > /dev/null 2> /dev/null&
sleep 5
# Start a copyq server, that will be used to copy the email and password of the obtained account from the clipboard of Xephyr
DISPLAY=:2 copyq &
echo "[*] Starting copyq server on :2"
DISPLAY=:2 copyq > /dev/null 2> /dev/null&
sleep 2
echo "[*] Now starting the actual script"
#Now start the actual bot, we're in a safe environment
DISPLAY=:1 python src/main.py