chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8fc81da
)
bin/remote-slideshow: Handle the case of no arguments correctly.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 3 Oct 2021 13:49:05 +0000
(14:49 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 3 Oct 2021 14:18:21 +0000
(15:18 +0100)
D'oh!
bin/remote-slideshow
patch
|
blob
|
blame
|
history
diff --git
a/bin/remote-slideshow
b/bin/remote-slideshow
index 4a49a60eca8a0d8953e2a28a1dc4d0dc510bbc49..7b2df155f53b6358d844e3aa70ee689d393ca8f2 100755
(executable)
--- 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
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'"
;;
set -- /usr/lib/xscreensaver/glslideshow -duration 60 -pan 10 \
-xrm "'*desktopGrabber: ./getimg %s'"
;;