diff options
-rw-r--r-- | accounts/gkleen@sif/zshrc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/zshrc b/accounts/gkleen@sif/zshrc index d15f98b8..569c9372 100644 --- a/accounts/gkleen@sif/zshrc +++ b/accounts/gkleen@sif/zshrc | |||
@@ -162,7 +162,7 @@ dir() { | |||
162 | cleanup() | 162 | cleanup() |
163 | { | 163 | { |
164 | cd ${modifyPDF:h} | 164 | cd ${modifyPDF:h} |
165 | [[ -n ${modifyPDF} ]] && nix shell nixos#imagemagick -c convert ${dir}/page-*.png ${modifyPDF} | 165 | [[ -n ${modifyPDF} ]] && nix shell nixos#imagemagick -c convert -verbose ${dir}/${modifyPDF:t:r}_*.png(on) ${modifyPDF} |
166 | } | 166 | } |
167 | 167 | ||
168 | ( | 168 | ( |
@@ -218,7 +218,7 @@ dir() { | |||
218 | unpack=false | 218 | unpack=false |
219 | ;; | 219 | ;; |
220 | application/pdf) | 220 | application/pdf) |
221 | nix shell nixos#ghostscript nixos#imagemagick -c convert -verbose -density 400 ${templateArchive} page-%0d.png | 221 | nix shell nixos#ghostscript nixos#imagemagick -c convert -verbose -density 400 ${templateArchive} ${modifyPDF:t:r}_%0d.png |
222 | unpack=false | 222 | unpack=false |
223 | ;; | 223 | ;; |
224 | *) | 224 | *) |