1
0
mirror of https://github.com/km4ack/patmenu2.git synced 2025-05-19 08:10:12 -07:00
This commit is contained in:
KM4ACK 2022-08-01 17:03:44 -05:00
parent bae91d1aee
commit eee9c39ff0

View File

@ -4,6 +4,8 @@
#that can be imported into YAAC #that can be imported into YAAC
#KM4ACK 01AUGUST2022 #KM4ACK 01AUGUST2022
LOGO=$MYPATH/pmlogo.png
MAIN=$MYPATH/./catalog
CONFIG=$HOME/.config/pat/config.json CONFIG=$HOME/.config/pat/config.json
PATCALL=$(grep mycall $HOME/.config/pat/config.json | head -1 | sed 's/"mycall": "//;s/",//;s/ //g') PATCALL=$(grep mycall $HOME/.config/pat/config.json | head -1 | sed 's/"mycall": "//;s/",//;s/ //g')
LIST=$HOME/.local/share/pat/mailbox/$PATCALL/in LIST=$HOME/.local/share/pat/mailbox/$PATCALL/in
@ -40,7 +42,8 @@ cp $FILE /run/user/$UID/tempgatelist
if [ $? = 1 ]; then if [ $? = 1 ]; then
yad --form --width=500 --text-align=center --center --title="WL2K to ARPS Object" --text-align=center \ yad --form --width=500 --text-align=center --center --title="WL2K to ARPS Object" --text-align=center \
--image ${LOGO} --window-icon=${LOGO} --image-on-top --separator="|" --item-separator="|" \ --image ${LOGO} --window-icon=${LOGO} --image-on-top --separator="|" --item-separator="|" \
--text="<b>FAILED</b>\rNo Nearby File Found in Inbox" --text="<b>FAILED</b>\rNo Nearby (WL2K_NEARBY) File Found in Inbox"
MAIN
fi fi
sed -i '1,17d' /run/user/$UID/tempgatelist sed -i '1,17d' /run/user/$UID/tempgatelist