Loop weather script fetch/display logic
This commit is contained in:
parent
95e36ccec2
commit
fe15eb6755
1 changed files with 17 additions and 15 deletions
|
@ -95,6 +95,7 @@ printtables() {
|
||||||
}
|
}
|
||||||
|
|
||||||
getweathertexttable() {
|
getweathertexttable() {
|
||||||
|
while true; do
|
||||||
LAT="$1"
|
LAT="$1"
|
||||||
LON="$2"
|
LON="$2"
|
||||||
PLACE="$3"
|
PLACE="$3"
|
||||||
|
@ -110,6 +111,7 @@ getweathertexttable() {
|
||||||
tput rev; echo "$PLACE"; tput sgr0
|
tput rev; echo "$PLACE"; tput sgr0
|
||||||
printtables
|
printtables
|
||||||
read -r
|
read -r
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
weathermenu() {
|
weathermenu() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue