#!/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"
)