diff options
| author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-03-24 22:22:22 +0100 | 
|---|---|---|
| committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-03-24 22:23:47 +0100 | 
| commit | 4fcb900b0cb1e9a0a8643d71a747481ea79b43db (patch) | |
| tree | b12a8f920153267ca4fc19934719f29fba1340b3 /impressive-display/bin | |
| parent | 5970b68157f26f35e3ecd6f2c24a349fe9a0444b (diff) | |
| download | impressive-display-4fcb900b0cb1e9a0a8643d71a747481ea79b43db.tar.gz impressive-display-4fcb900b0cb1e9a0a8643d71a747481ea79b43db.tar.bz2 impressive-display-4fcb900b0cb1e9a0a8643d71a747481ea79b43db.zip | |
impressive-display: Make interval between slide transitions configurable.
Diffstat (limited to 'impressive-display/bin')
| -rwxr-xr-x | impressive-display/bin/impressive-display | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/impressive-display/bin/impressive-display b/impressive-display/bin/impressive-display index 67b0989..a9a0512 100755 --- a/impressive-display/bin/impressive-display +++ b/impressive-display/bin/impressive-display @@ -72,6 +72,9 @@ HTTP_PROXY_URL=""  # interval of PDF continuous downloads  DOWNLOAD_INTERVAL="600" +# show each slide for 20 seconds by default +SLIDE_DURATION="20" +  if [ -r $HOME/.impressive-display-secrets ]; then  	. $HOME/.impressive-display-secrets  fi @@ -242,7 +245,7 @@ if [ -n "$pdffile" ]; then  	# on GL systems add: --supersample -k   	if which impressive 1>/dev/null; then -		impressive ${fade_options} --fake-fullscreen --wrap --poll 30 -a 5 --nologo "${pdffile}" 1>/dev/null +		impressive ${fade_options} --fake-fullscreen --wrap --poll 30 -a ${SLIDE_DURATION} --nologo "${pdffile}" 1>/dev/null  	fi  	stop_pdfdownload_loop | 
