From: Gustav Eek Date: Sun, 30 Jul 2023 07:43:31 +0000 (+0200) Subject: [unoconv-display] Print cache file names X-Git-Url: https://git.g-eek.se/?a=commitdiff_plain;h=c06d0577ca1888be8120276d119f3451b4d85cb9;p=users%2Fgustav%2Fscripts.git [unoconv-display] Print cache file names --- diff --git a/unoconv-display b/unoconv-display index 3b45709..46cd12d 100644 --- a/unoconv-display +++ b/unoconv-display @@ -37,10 +37,12 @@ if [ -d "$dir" ]; then # Start text viewer case $fmt in emacs) exec emacsclient -e "(view-file \"$txt\")" > /dev/null + echo "$txt" 1>&2 exit 0 ;; pdf) exec zathura --fork "$pdf" 2>> "/tmp/err" & + echo "$pdf" 1>&2 exit 0 ;; *)