From df4ba4d49dd53a62adc39c1d2ea887fe464ec09b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 27 Feb 2023 16:33:18 +0100 Subject: ... --- accounts/gkleen@sif/zshrc | 4 ++-- 1 file 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() { cleanup() { cd ${modifyPDF:h} - [[ -n ${modifyPDF} ]] && nix shell nixos#imagemagick -c convert ${dir}/page-*.png ${modifyPDF} + [[ -n ${modifyPDF} ]] && nix shell nixos#imagemagick -c convert -verbose ${dir}/${modifyPDF:t:r}_*.png(on) ${modifyPDF} } ( @@ -218,7 +218,7 @@ dir() { unpack=false ;; application/pdf) - nix shell nixos#ghostscript nixos#imagemagick -c convert -verbose -density 400 ${templateArchive} page-%0d.png + nix shell nixos#ghostscript nixos#imagemagick -c convert -verbose -density 400 ${templateArchive} ${modifyPDF:t:r}_%0d.png unpack=false ;; *) -- cgit v1.2.3