Better for files with spaces
This commit is contained in:
parent
53125d6f43
commit
2d668157d7
@ -98,7 +98,7 @@ tmpfile=/tmp/pdf_page.pdf
|
|||||||
# Ideally would get the page from Zathura...
|
# Ideally would get the page from Zathura...
|
||||||
pagenum=$(rofi -dmenu -p "Page Number")
|
pagenum=$(rofi -dmenu -p "Page Number")
|
||||||
|
|
||||||
pdftk $1 cat $pagenum output $tmpfile.pdf && \
|
pdftk "$1" cat $pagenum output "$tmpfile.pdf" && \
|
||||||
pdf2svg $tmpfile.pdf $tmpfile.svg && \
|
pdf2svg "$tmpfile.pdf" "$tmpfile.svg" && \
|
||||||
inkscape $tmpfile.svg
|
inkscape "$tmpfile.svg"
|
||||||
#+end_src
|
#+end_src
|
||||||
|
Loading…
Reference in New Issue
Block a user