summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/impressive-display3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/impressive-display b/bin/impressive-display
index 73df7a1..bda8161 100755
--- a/bin/impressive-display
+++ b/bin/impressive-display
@@ -343,6 +343,7 @@ function download_pdffile {
cmp -s "$pdffile_downloaded" "$pdffile_previous"> /dev/null
if [ $? -eq 1 ]; then
echo -n "RELOAD" > $impressive_lock
+ $OUTPUT "INFO: Triggering PDF file reload, PDF file has changed..."
fi
pdffile=$pdffile_display
@@ -406,6 +407,7 @@ function reloadable_impressive {
while [ -e "$session_lock" ]; do
+ $OUTPUT "INFO: Starting a new instance of the impressive application."
impressive ${IMPRESSIVE_OPTIONS} --fake-fullscreen --wrap -a ${SLIDE_DURATION} --nologo "${pdffile_display}" 1>/dev/null 2>/dev/null &
impressive_pid=$!
@@ -420,6 +422,7 @@ function reloadable_impressive {
done
kill -0 "$impressive_pid" 2>/dev/null && kill "$impressive_pid"
+ $OUTPUT "INFO: The impressive application has terminated."
done