mirror of
https://github.com/eddyem/small_tel.git
synced 2026-03-20 08:41:03 +03:00
add some bash scripts
This commit is contained in:
20
Auxiliary_utils/bash_scripts/allsky_sixel.sh
Executable file
20
Auxiliary_utils/bash_scripts/allsky_sixel.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
#
|
||||
# $1 - scaling factor (in percents) of the image
|
||||
#
|
||||
|
||||
scale=50
|
||||
if [ $# -gt 0 ]; then
|
||||
scale=$1
|
||||
fi
|
||||
|
||||
unset http_proxy
|
||||
|
||||
clear
|
||||
while [[ 1 ]]; do
|
||||
tput cup 0 0
|
||||
curl -s http://zarch.sao.ru/webcam/mirat_allsky.cgi | magick - -colors 256 +dither -normalize -resize $scale% sixel:-
|
||||
# sleep 30s
|
||||
sleep 5s
|
||||
done
|
||||
Reference in New Issue
Block a user