From 72d64b0267c1c3e2b4eba07b4332e155b9e6c77f Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Sat, 6 Aug 2022 10:55:36 -0500 Subject: [PATCH] initial commit --- sms/current-carriers | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 sms/current-carriers diff --git a/sms/current-carriers b/sms/current-carriers new file mode 100755 index 0000000..bffe6b3 --- /dev/null +++ b/sms/current-carriers @@ -0,0 +1,21 @@ +#!/bin/bash + +#script to add phone carries to master list +#KM4ACK 02AUGUST2022 + +FILE=$HOME/patmenu2/sms/myphonelist.txt +MYTEMP=/run/user/$UID/templist.txt +MAIN=$HOME/patmenu2/sms/manage-sms + +INFO=$(PARSER='OFS="\n" {print $1}' + +tail -300 $FILE | awk "$PARSER" | \ +yad --title="Search Results" --width=1100 --height=500 \ + --image $LOGO --window-icon=$LOGO --image-on-top --multiple \ + --center --list --text="Carrier List" \ + --column Carrier \ + --button=gtk-close \ + --button=gtk-ok) +BUT=$? + +$MAIN \ No newline at end of file