summaryrefslogtreecommitdiff
path: root/accounts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-02-27 16:33:18 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2023-02-27 16:33:18 +0100
commitdf4ba4d49dd53a62adc39c1d2ea887fe464ec09b (patch)
treec49a98aff05a88bb6616f923bc8b1c6692a2b08a /accounts
parent527cfcd015781f5c48c3c594acf98a43800990b3 (diff)
downloadnixos-df4ba4d49dd53a62adc39c1d2ea887fe464ec09b.tar
nixos-df4ba4d49dd53a62adc39c1d2ea887fe464ec09b.tar.gz
nixos-df4ba4d49dd53a62adc39c1d2ea887fe464ec09b.tar.bz2
nixos-df4ba4d49dd53a62adc39c1d2ea887fe464ec09b.tar.xz
nixos-df4ba4d49dd53a62adc39c1d2ea887fe464ec09b.zip
...
Diffstat (limited to 'accounts')
-rw-r--r--accounts/gkleen@sif/zshrc4
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 *)