From 971aee97589ea03e3bd9ffd288d2d3e1464bd5e8 Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Fri, 11 Mar 2022 12:43:11 -0600 Subject: [PATCH] add complete notification --- FA-functions | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/FA-functions b/FA-functions index e013079..6d7fc00 100644 --- a/FA-functions +++ b/FA-functions @@ -436,6 +436,11 @@ TMPFILE2=$DIR/tempfile2 TMPFILE3=$DIR/tempfile3 MYGRID=$(cat /run/user/$UID/gridinfo.txt | cut -c1-6) +#backup current lists +BKDIR=$MYPATH/ardop-list/bkup-`date +%F.%H%M` +mkdir -p $BKDIR +cp -r $HOME/patmenu2/ardop-list/*.txt $BKDIR/ + MYGRID=$(yad --form --width=450 --text="Recalculate Distance and Bearings to Gateways\rThis takes 2-3 minutes to complete" \ --text-align=center --center --title="Recalculate" --text-align=center --separator="|" --item-separator="|" \ --image=$LOGO --window-icon=$LOGO --image-on-top \ @@ -477,6 +482,8 @@ RECALC 80mardoplist.txt | yad --center --progress --pulsate --auto-close --no-bu echo "Recalculating Packet list" RECALC packet.txt | yad --center --progress --pulsate --auto-close --no-buttons --text-align=center --title="Recalculate" \ --text="Recalculating Packet List\rDO NOT CLOSE THIS WINDOW\rDoing so will abort the process\rand leave you with a corrupt list." + +yad --center --timeout=2 --timeout-indicator=top --no-buttons --text="New Calculations Complete" } RECALC(){