mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-04 20:42:32 +01:00
Compare commits
2 commits
7ab1832bd8
...
892a02df2a
Author | SHA1 | Date | |
---|---|---|---|
892a02df2a | |||
a20c3ea6bf |
2 changed files with 6 additions and 4 deletions
|
@ -2,11 +2,11 @@
|
|||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1730207978,
|
||||
"narHash": "sha256-FnFkAqwoXfBoyWGBIVy17rT6sJK8HI09SlPmh6WKYJo=",
|
||||
"lastModified": 1730729172,
|
||||
"narHash": "sha256-RE6Fgw2FbVzWzRf5FD6LSIqSHTXq/hEm+GIqy7zcoe8=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "6a1c602a1637c3b22c8a0b7123413ad84d7c51fe",
|
||||
"rev": "eb36bf249929bfd7a94c5f9ee0f1972ded7b6931",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -4,6 +4,8 @@ trap 'kill $(jobs -p); rm "$tmpf"' EXIT
|
|||
|
||||
typst watch "$1" "$tmpf" "${@:2}" &
|
||||
|
||||
while [ ! -f "$tmpf" ]; do sleep 1; done
|
||||
# Without this, zathura may try to open a half-written file. This is a hack, but I don't know of a
|
||||
# better approach.
|
||||
sleep 1
|
||||
|
||||
zathura "$tmpf"
|
||||
|
|
Loading…
Reference in a new issue