From 2d668157d7587e7be121ba37dd79b23379fea7a8 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Mon, 25 Oct 2021 14:25:41 +0200 Subject: [PATCH] Better for files with spaces --- zathura.org | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zathura.org b/zathura.org index cc60ea1..2fd3e8a 100644 --- a/zathura.org +++ b/zathura.org @@ -98,7 +98,7 @@ tmpfile=/tmp/pdf_page.pdf # Ideally would get the page from Zathura... pagenum=$(rofi -dmenu -p "Page Number") -pdftk $1 cat $pagenum output $tmpfile.pdf && \ - pdf2svg $tmpfile.pdf $tmpfile.svg && \ - inkscape $tmpfile.svg +pdftk "$1" cat $pagenum output "$tmpfile.pdf" && \ + pdf2svg "$tmpfile.pdf" "$tmpfile.svg" && \ + inkscape "$tmpfile.svg" #+end_src