From c4f71b5065ff697876d97b27aa52745e4b715a2b Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Mon, 30 Dec 2024 05:53:08 +0300 Subject: [PATCH] Fix: Add a fix for broken pdfs. --- home/program/bash/module/Fix.sh | 5 +++++ option/Wallpaper.nix | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/home/program/bash/module/Fix.sh b/home/program/bash/module/Fix.sh index 5f0ff92..dd6f7ae 100644 --- a/home/program/bash/module/Fix.sh +++ b/home/program/bash/module/Fix.sh @@ -18,3 +18,8 @@ function fix_gradle_lock() { cd "${HOME}/.gradle" && find -type f | grep \\.lock$ | xargs -- rm cd - } + +# Fix pdfs when they don't want to be uploaded to Paperless. +function fix_pdf() { + qpdf --replace-input "${@}" +} diff --git a/option/Wallpaper.nix b/option/Wallpaper.nix index eb1278a..803e450 100644 --- a/option/Wallpaper.nix +++ b/option/Wallpaper.nix @@ -22,7 +22,7 @@ let # 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 - # 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 # scheme = "${pkgs.base16-schemes}/share/themes/material.yaml";