Set zread to fork zathura
This commit is contained in:
parent
ce328c48a7
commit
cfa5f003dd
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
export dir=$(mktemp -p /dev/shm -d -t tmp.XXXXXXXXXX)
|
export dir=$(mktemp -p /dev/shm -d -t tmp.XXXXXXXXXX)
|
||||||
ln -s /dev/stdout $dir/stdout.pdf
|
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
|
rm $dir -rf
|
||||||
|
|
Loading…
Reference in a new issue