mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-04 20:32:32 +01:00
typstwatch: wait for output file to appear before launching viewer
This commit is contained in:
parent
35737f9d04
commit
a2b3d282d4
1 changed files with 2 additions and 0 deletions
|
@ -4,4 +4,6 @@ trap 'kill $(jobs -p); rm "$tmpf"' EXIT
|
|||
|
||||
typst watch "$1" "$tmpf" "${@:2}" &
|
||||
|
||||
while [ ! -f "$tmpf" ]; do sleep 1; done
|
||||
|
||||
zathura "$tmpf"
|
||||
|
|
Loading…
Reference in a new issue