allow redirect for cammie screenshot
This commit is contained in:
parent
b70fb02ec1
commit
b64f921a9f
@ -6,7 +6,7 @@ if [ -n "$1" ]; then
|
|||||||
while [ -n "$1" ]; do
|
while [ -n "$1" ]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
scrot) foto="$(mktemp XXXXXX.jpg)"
|
scrot) foto="$(mktemp XXXXXX.jpg)"
|
||||||
curl http://kelder.zeus.ugent.be/webcam/video/mjpg.cgi \
|
curl -L http://kelder.zeus.ugent.be/webcam/video/mjpg.cgi \
|
||||||
| ffmpeg -y -ss 0 -i - -vframes 1 -q:v 2 "$foto"
|
| ffmpeg -y -ss 0 -i - -vframes 1 -q:v 2 "$foto"
|
||||||
feh "$foto"
|
feh "$foto"
|
||||||
rm "$foto"
|
rm "$foto"
|
||||||
|
Loading…
Reference in New Issue
Block a user