termux-timelapse/run.sh

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"
)