termux-timelapse/run.sh
2021-05-31 13:52:50 +02:00

11 lines
209 B
Bash

#!/bin/bash
project_root=$(dirname $(realpath $0))
(
cd $PREFIX/tmp/ &&
mkdir -p termux-timelapse &&
cd termux-timelapse &&
mkfifo image_buffer_pipe
python3 "$project_root/timelapse.py"
)