From: Mark Wooding Date: Sun, 3 Oct 2021 13:49:05 +0000 (+0100) Subject: bin/remote-slideshow: Handle the case of no arguments correctly. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/73b72c0a6accb2ce14888310d8abf6ac819e0c9c bin/remote-slideshow: Handle the case of no arguments correctly. D'oh! --- diff --git a/bin/remote-slideshow b/bin/remote-slideshow index 4a49a60..7b2df15 100755 --- a/bin/remote-slideshow +++ b/bin/remote-slideshow @@ -10,7 +10,7 @@ case $ok in esac dirs=$1 host=${2%:*} dpy=${2##*:}; shift 2 case $#,$1 in - 0 | 1,:slideshow) + 0, | 1,:slideshow) set -- /usr/lib/xscreensaver/glslideshow -duration 60 -pan 10 \ -xrm "'*desktopGrabber: ./getimg %s'" ;;