Skip to content

Commit

Permalink
[bin/qrencode-keys] create result with montage
Browse files Browse the repository at this point in the history
pSub committed Dec 28, 2024
1 parent c63bcd6 commit 25d023e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion scripts/bin/qrencode-keys
Original file line number Diff line number Diff line change
@@ -18,4 +18,11 @@ for PUB_KEY_PATH in "$SSH_DIR"/id*.pub; do
qrencode "$PRIV_KEY" -o "$QR_DIR"/"$PRIV_KEY".svg
done

convert "$QR_DIR"/*.svg "$SSH_DIR"/keys-as-qr-codes.pdf
montage -label %f \
-tile 3x \
-page a4 \
-geometry 500x500 \
-mode frame \
-pointsize 20 \
"$QR_DIR"/*.svg \
"$SSH_DIR"/keys-as-qr-codes.pdf

0 comments on commit 25d023e

Please sign in to comment.