@marshallapparalautomation suggested to me via email that we could have a version of embroider that automatically converts the contents of a folder dynamically like a traditional UNIX daemon.
Rather than get knee deep in systemd, since this is something that could need versions for many different systems, lets sketch out a simple shell script.
Sketch of how the script would look, to be hooked onto, for example ~/.xinitrc.
# [At the bottom of .xinitrc]
export EMBROIDER_DIR="~/to_embroider"
. ~/embroidermodder2/embroiderd &
where embroiderd is our "UNIX daemon", here actually just a loop that runs without the need for a user-visible terminal
#!/bin/sh
while [ 1 ]
do
for file in $EMBROIDER_DIR/*.svg
do
embroider -to dst $file
done
# To stop our script consuming too many system resources
sleep 3
done
He can chime in here if that's not what what he means.
@marshallapparalautomation suggested to me via email that we could have a version of
embroider
that automatically converts the contents of a folder dynamically like a traditional UNIX daemon.Rather than get knee deep in systemd, since this is something that could need versions for many different systems, lets sketch out a simple shell script.
Sketch of how the script would look, to be hooked onto, for example
~/.xinitrc
.where
embroiderd
is our "UNIX daemon", here actually just a loop that runs without the need for a user-visible terminalHe can chime in here if that's not what what he means.