From cfa5f003dd77479fc2b25aaaac61c390ce6fe6c2 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Tue, 7 Jan 2020 13:54:35 +0100 Subject: [PATCH] Set zread to fork zathura --- bin/zread | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/zread b/bin/zread index de62666..f02d3ca 100755 --- a/bin/zread +++ b/bin/zread @@ -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