template structure

This commit is contained in:
jsz4n
2024-04-21 18:55:28 +02:00
parent a329decc86
commit c67dc87e02
10 changed files with 1002 additions and 0 deletions

20
watch_compile.sh Executable file
View File

@@ -0,0 +1,20 @@
#! /usr/bin/env bash
script=./scripts/slides_to_pdf.sh
case $1 in
pdf)
script=./scripts/slides_to_pdf.sh
;;
html)
script=./scripts/slides_to_pdf.sh
;;
esac
echo using $script
$script
while [ 1 -eq 1 ]
do
inotifywait ./slides.md
$script
done