diff options
-rwxr-xr-x | bin/impressive-display | 32 |
1 files changed, 8 insertions, 24 deletions
diff --git a/bin/impressive-display b/bin/impressive-display index e4ede36..b688239 100755 --- a/bin/impressive-display +++ b/bin/impressive-display @@ -33,32 +33,15 @@ # texlive-extra-utils (for pdfnup) # poppler-utils (for pdfinfo) -VERSION="0.2.4" +VERSION="0.3.0" -PDF_URL="http://localhost" +# Can be configured at "/etc/default/impressive-display" +DEFAULT_PDF_URI="http://www.cbu.edu.zm/downloads/pdf-sample.pdf" +DEFAULT_RESOLUTION="1920x1080" -WITH_PULSEAUDIO="yes" -HIDE_IDLE_POINTER="yes" - - -# There can be master terminals and slave display. -# All terminal not listed here are slave displays... -PRIMARY_DISPLAYS="$(hostname -f)" - -# these terminals can have different startup URLs -PDF_URL_PRIMARIES="" -PDF_URL_SECONDARIES="" -PDF_URL_PRIMARIES_CREDS="" -PDF_URL_SECONDARIES_CREDS="" - -PDF_FILE_PRIMARIES="" -PDF_FILE_SECONDARIES="" - -# enforce fixed resolution for displays -# PRIMARIES_RESOLUTION="1920x1080" -# SECONDARIES_RESOLUTION="1920x1080" -PRIMARIES_RESOLUTION= -SECONDARIES_RESOLUTION= +# Loggin credentials for websites.. +PDF_URI_CREDS="" +PDF_URL_CREDS="" # launch pulseaudio daemon if not already running WITH_PULSEAUDIO="yes" @@ -94,6 +77,7 @@ IMPRESSIVE_OPTIONS="--transition None" # write some debugging output to stdout when downloading a remote PDF DEBUG_DOWNLOADS="" +# if files exists: source it to this file (The script will overide variables) if [ -r $HOME/.impressive-display-secrets ] && [ ! -d $HOME/.impressive-display-secrets ]; then . $HOME/.impressive-display-secrets fi |