mirror of
https://github.com/km4ack/patmenu2.git
synced 2025-05-17 23:30:11 -07:00
add conf name to bottom
This commit is contained in:
parent
c0a5a56d2c
commit
4a3b50f4e1
8
patmenu
8
patmenu
@ -41,6 +41,13 @@ yad --title="N0CALL" --width=400 --height=100 \
|
||||
--button=gtk-ok
|
||||
fi
|
||||
|
||||
#get name of current config file
|
||||
source $MYPATH/.currentconf
|
||||
CONFIG=$(echo $CONF | sed 's/.config//')
|
||||
if [ -z $CONFIG ]; then
|
||||
CONFIG=default
|
||||
fi
|
||||
|
||||
yad --form --width=420 --text-align=center --center --title="Pat Menu" --text-align=center \
|
||||
--image $LOGO --window-icon=$LOGO --image-on-top --separator="|" --item-separator="|" \
|
||||
--text="<b>Pat Menu</b> by KM4ACK\rv$VERSION" \
|
||||
@ -54,6 +61,7 @@ yad --form --width=420 --text-align=center --center --title="Pat Menu" --text-al
|
||||
--field="Settings/Config":fbtn 'bash -c "kill -USR1 $YAD_PID; $MYPATH/manage-menu"' \
|
||||
--field="Quick Stats":fbtn 'bash -c "kill -USR1 $YAD_PID; source $MYPATH/pat-functions; STATS"' \
|
||||
--field="My Call - $MYCALLSIGN":LBL \
|
||||
--field="Config=$CONFIG":LBL \
|
||||
--button="QUIT":1
|
||||
|
||||
BUT=$?
|
||||
|
Loading…
x
Reference in New Issue
Block a user