Set zread to fork zathura

This commit is contained in:
Talia 2020-01-07 13:54:35 +01:00
parent ce328c48a7
commit cfa5f003dd
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
export dir=$(mktemp -p /dev/shm -d -t tmp.XXXXXXXXXX)
ln -s /dev/stdout $dir/stdout.pdf
pandoc -o $dir/stdout.pdf $1 | zathura ${@:2} -
pandoc -o $dir/stdout.pdf $1 | zathura --fork ${@:2} -
rm $dir -rf