mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
fish(epub2pdf): drop
Rarely used this and the dependency on calibre was causing build issues due to its dependency on pyqt6.
This commit is contained in:
parent
1f85bd4ec7
commit
54b018aa22
@ -152,16 +152,6 @@
|
|||||||
echo "Done. Reduced file size from $ORIGINAL_SIZE to $NEW_SIZE"
|
echo "Done. Reduced file size from $ORIGINAL_SIZE to $NEW_SIZE"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
epub2pdf = # fish
|
|
||||||
''
|
|
||||||
if string match -qe -- ".epub" "$argv";
|
|
||||||
set BASE (string split -f 1 ".epub" "$argv")
|
|
||||||
${pkgs.calibre}/bin/ebook-convert "$argv" "$BASE.pdf"; and trash "$argv"
|
|
||||||
else
|
|
||||||
echo "Usage: epub2pdf [file.epub]"
|
|
||||||
end
|
|
||||||
'';
|
|
||||||
|
|
||||||
tmp = # fish
|
tmp = # fish
|
||||||
''
|
''
|
||||||
set MULLVAD_CACHE "/tmp/mullvad.json"
|
set MULLVAD_CACHE "/tmp/mullvad.json"
|
||||||
|
Loading…
Reference in New Issue
Block a user