2.0.0 work

This commit is contained in:
2026-03-03 14:31:05 -05:00
parent dc231502eb
commit 93af24430a
4 changed files with 76 additions and 30 deletions

View File

@@ -15,7 +15,7 @@ source $conf_file
if echo "$url" | grep -q '^file:'
then
filepath=$(echo "$server_url"|cut -d"/" -f2-)
xpdf -fullscreen -cont -z width $filepath
xpdf -fullscreen -cont -z width $filepath >/dev/null 2>&1
else
if ! wget -q -O /dev/shm/target.pdf $url
then
@@ -23,7 +23,7 @@ else
xmessage -buttons "Ok:1" -center "Failed to retrieve pdf file."
exit 1
else
xpdf -fullscreen -cont -z width /dev/shm/target.pdf
xpdf -fullscreen -cont -z width /dev/shm/target.pdf >/dev/null 2>&1
fi
fi