Fix: Add a fix for broken pdfs.

This commit is contained in:
Dmitry Voronin 2024-12-30 05:53:08 +03:00
parent b9240f779d
commit c4f71b5065
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 6 additions and 1 deletions

View file

@ -18,3 +18,8 @@ function fix_gradle_lock() {
cd "${HOME}/.gradle" && find -type f | grep \\.lock$ | xargs -- rm cd "${HOME}/.gradle" && find -type f | grep \\.lock$ | xargs -- rm
cd - cd -
} }
# Fix pdfs when they don't want to be uploaded to Paperless.
function fix_pdf() {
qpdf --replace-input "${@}"
}

View file

@ -22,7 +22,7 @@ let
# scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-dark.yaml"; # scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-dark.yaml";
# Colors: #3C4C55 #556873 #6A7D89 #899BA6 #899BA6 #C5D4DD #899BA6 #556873 #83AFE5 #7FC1CA #A8CE93 #7FC1CA #F2C38F #83AFE5 #9A93E1 #F2C38F # Colors: #3C4C55 #556873 #6A7D89 #899BA6 #899BA6 #C5D4DD #899BA6 #556873 #83AFE5 #7FC1CA #A8CE93 #7FC1CA #F2C38F #83AFE5 #9A93E1 #F2C38F
# scheme = "${pkgs.base16-schemes}/share/themes/nova.yaml"; # scheme = "${pkgs.base16-schemes}/share/themes/nova.yaml"; # Needs text contrast.
# Colors: #263238 #2E3C43 #314549 #546E7A #B2CCD6 #EEFFFF #EEFFFF #FFFFFF #F07178 #F78C6C #FFCB6B #C3E88D #89DDFF #82AAFF #C792EA #FF5370 # Colors: #263238 #2E3C43 #314549 #546E7A #B2CCD6 #EEFFFF #EEFFFF #FFFFFF #F07178 #F78C6C #FFCB6B #C3E88D #89DDFF #82AAFF #C792EA #FF5370
# scheme = "${pkgs.base16-schemes}/share/themes/material.yaml"; # scheme = "${pkgs.base16-schemes}/share/themes/material.yaml";