feat: add several options for customizing label placement
* --row-wise, for going left to right instead of top to bottom * --num-labels, for specifying how many labels to print * --pages, for specifying how many pages to print * --start-position, for continuing on sheets where some labels were already used Co-authored-by: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
This commit is contained in:
parent
a6e8fadf72
commit
d5d9b7adad
13 changed files with 1990 additions and 10 deletions
19
.direnv/bin/nix-direnv-reload
Executable file
19
.direnv/bin/nix-direnv-reload
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
if [[ ! -d "/home/khais/src/paperless-asn-qr-codes" ]]; then
|
||||
echo "Cannot find source directory; Did you move it?"
|
||||
echo "(Looking for "/home/khais/src/paperless-asn-qr-codes")"
|
||||
echo 'Cannot force reload with this script - use "direnv reload" manually and then try again'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# rebuild the cache forcefully
|
||||
_nix_direnv_force_reload=1 direnv exec "/home/khais/src/paperless-asn-qr-codes" true
|
||||
|
||||
# Update the mtime for .envrc.
|
||||
# This will cause direnv to reload again - but without re-building.
|
||||
touch "/home/khais/src/paperless-asn-qr-codes/.envrc"
|
||||
|
||||
# Also update the timestamp of whatever profile_rc we have.
|
||||
# This makes sure that we know we are up to date.
|
||||
touch -r "/home/khais/src/paperless-asn-qr-codes/.envrc" "/home/khais/src/paperless-asn-qr-codes/.direnv"/*.rc
|
||||
1
.direnv/flake-inputs/52bigbj1vfhdkwzqg0yrh3fdawz0pflj-source
Symbolic link
1
.direnv/flake-inputs/52bigbj1vfhdkwzqg0yrh3fdawz0pflj-source
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/nix/store/52bigbj1vfhdkwzqg0yrh3fdawz0pflj-source
|
||||
1
.direnv/flake-inputs/cnpq7gggc6ch7hvqy5xrnra8rz8ch8i2-source
Symbolic link
1
.direnv/flake-inputs/cnpq7gggc6ch7hvqy5xrnra8rz8ch8i2-source
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/nix/store/cnpq7gggc6ch7hvqy5xrnra8rz8ch8i2-source
|
||||
1
.direnv/flake-inputs/d6533m6b80n3c9lia5kvaz59ad3fynwk-source
Symbolic link
1
.direnv/flake-inputs/d6533m6b80n3c9lia5kvaz59ad3fynwk-source
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/nix/store/d6533m6b80n3c9lia5kvaz59ad3fynwk-source
|
||||
1
.direnv/flake-inputs/frdjqj92bbc99qzy1aa0xx19f40a2ar2-source
Symbolic link
1
.direnv/flake-inputs/frdjqj92bbc99qzy1aa0xx19f40a2ar2-source
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/nix/store/frdjqj92bbc99qzy1aa0xx19f40a2ar2-source
|
||||
1
.direnv/flake-inputs/kqx126kbcqsdhrbm96j2m87drpd1s0y8-source
Symbolic link
1
.direnv/flake-inputs/kqx126kbcqsdhrbm96j2m87drpd1s0y8-source
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/nix/store/kqx126kbcqsdhrbm96j2m87drpd1s0y8-source
|
||||
1
.direnv/flake-inputs/wafxi383ckrchp0aqil8rnq4vzkih320-source
Symbolic link
1
.direnv/flake-inputs/wafxi383ckrchp0aqil8rnq4vzkih320-source
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/nix/store/wafxi383ckrchp0aqil8rnq4vzkih320-source
|
||||
1
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa
Symbolic link
1
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/nix/store/9hajvbjb10nnbbaclnly2fzkhkyj21jz-nix-shell-env
|
||||
1881
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc
Normal file
1881
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue