|
@@ -202,10 +202,13 @@ read -rp "Enter your latitude (South values are negative): " |
|
|
read -rp "Enter your longitude (West values are negative): " |
|
|
read -rp "Enter your longitude (West values are negative): " |
|
|
lon=$REPLY |
|
|
lon=$REPLY |
|
|
|
|
|
|
|
|
|
|
|
read -rp "Enter your timezone (Ex: -3 for Argentina time): " |
|
|
|
|
|
timezone=$REPLY |
|
|
|
|
|
|
|
|
sed -i -e "s/change_latitude/${lat}/g;s/change_longitude/${lon}/g" "$HOME/.noaa.conf" |
|
|
sed -i -e "s/change_latitude/${lat}/g;s/change_longitude/${lon}/g" "$HOME/.noaa.conf" |
|
|
sed -i -e "s/change_latitude/${lat}/g;s/change_longitude/${lon}/g" "$HOME/.wxtoimgrc" |
|
|
sed -i -e "s/change_latitude/${lat}/g;s/change_longitude/${lon}/g" "$HOME/.wxtoimgrc" |
|
|
sed -i -e "s/change_latitude/${lat}/g;s/change_longitude/$(echo "$lon * -1" | bc)/g" "$HOME/.predict/predict.qth" |
|
|
sed -i -e "s/change_latitude/${lat}/g;s/change_longitude/$(echo "$lon * -1" | bc)/g" "$HOME/.predict/predict.qth" |
|
|
sed -i -e "s/change_latitude/${lat}/g;s/change_longitude/${lon}/g" "sun.py" |
|
|
|
|
|
|
|
|
sed -i -e "s/change_latitude/${lat}/g;s/change_longitude/${lon}/g;s/change_tz/$(echo "$timezone * -1" | bc)/g" "sun.py" |
|
|
|
|
|
|
|
|
# Running WXTOIMG to have the user accept the licensing agreement |
|
|
# Running WXTOIMG to have the user accept the licensing agreement |
|
|
wxtoimg |
|
|
wxtoimg |
|
|