From 2e10f7e1fbb7835c911f2417e9a564b99843c34c Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Thu, 31 Mar 2022 00:36:53 +0200 Subject: [PATCH] Pimp kobo save hl script --- dot_config/fish/private_functions/private_kobosavehl.fish | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dot_config/fish/private_functions/private_kobosavehl.fish b/dot_config/fish/private_functions/private_kobosavehl.fish index 2e066a8..e8ec114 100644 --- a/dot_config/fish/private_functions/private_kobosavehl.fish +++ b/dot_config/fish/private_functions/private_kobosavehl.fish @@ -1,4 +1,7 @@ # Defined interactively function kobosavehl -cp -R /Volumes/KOBOeReader/.adds/koreader/clipboard/ "/Users/gaugendre/Nextcloud/Perso/50-59 - Divertissements & projets/51 - Mes lectures/51.02 - Book notes/" + pushd "/Users/gaugendre/Nextcloud/Perso/50-59 - Divertissements & projets/51 - Mes lectures/51.02 - Book notes" + cp -R /Volumes/KOBOeReader/.adds/koreader/clipboard/ ./ + python ./parse.py -f KOReaderClipping.json + diskutil eject KOBOeReader end