From 83e5e8b1eb44b87c24144314ec0eab57b8291bdf Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Tue, 5 Oct 2021 09:44:08 -0400 Subject: [PATCH] added zenity popup --- groundstation/packet.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/groundstation/packet.sh b/groundstation/packet.sh index 0811eb44..dabde142 100755 --- a/groundstation/packet.sh +++ b/groundstation/packet.sh @@ -26,6 +26,10 @@ sudo killall -9 CubicSDR &>/dev/null echo +frequency=$(zenity --list --title="Choose the frequency" --column="kHz" --column="Use" 144390 "APRS US 2m" 434900 "CubeSatSim" 144800 "APRS European 2m") + +if [ -z "$frequency" ]; then + echo "Choose the number for the packet decoding option:" echo echo "1. APRS US 2m (144390 kHz)" @@ -141,6 +145,8 @@ else fi +fi + echo echo "Note that the 'Tuned to' frequency will be different from the chosen frequency due to the way SDRs work."