|
|
@ -98,11 +98,14 @@ networksmenu() { |
|
|
|
Launch Nmtui |
|
|
|
Launch Nmtui |
|
|
|
Launch Ifconfig |
|
|
|
Launch Ifconfig |
|
|
|
Scan Wifi Networks |
|
|
|
Scan Wifi Networks |
|
|
|
|
|
|
|
System Menu |
|
|
|
Close Menu |
|
|
|
Close Menu |
|
|
|
" | |
|
|
|
" | |
|
|
|
awk '{$1=$1};1' | grep '\w' | dmenu -c -p 'Networks' -l 14 |
|
|
|
awk '{$1=$1};1' | grep '\w' | dmenu -c -p 'Networks' -l 14 |
|
|
|
)" |
|
|
|
)" |
|
|
|
if [ "$CHOICE" = "Close Menu" ]; then |
|
|
|
if [ "$CHOICE" = "System Menu" ]; then |
|
|
|
|
|
|
|
sxmo_appmenu.sh sys && exit |
|
|
|
|
|
|
|
elif [ "$CHOICE" = "Close Menu" ]; then |
|
|
|
exit |
|
|
|
exit |
|
|
|
elif [ "$CHOICE" = "Add a GSM Network" ]; then |
|
|
|
elif [ "$CHOICE" = "Add a GSM Network" ]; then |
|
|
|
addnetworkgsmmenu |
|
|
|
addnetworkgsmmenu |
|
|
@ -113,9 +116,9 @@ networksmenu() { |
|
|
|
elif [ "$CHOICE" = "Launch Nmtui" ]; then |
|
|
|
elif [ "$CHOICE" = "Launch Nmtui" ]; then |
|
|
|
st -e nmtui & |
|
|
|
st -e nmtui & |
|
|
|
elif [ "$CHOICE" = "Launch Ifconfig" ]; then |
|
|
|
elif [ "$CHOICE" = "Launch Ifconfig" ]; then |
|
|
|
st -f Terminus-14 -e watch -n 2 ifconfig & |
|
|
|
st -e watch -n 2 ifconfig & |
|
|
|
elif [ "$CHOICE" = "Scan Wifi Networks" ]; then |
|
|
|
elif [ "$CHOICE" = "Scan Wifi Networks" ]; then |
|
|
|
st -f Terminus-14 -e watch -n 2 nmcli d wifi list & |
|
|
|
st -e watch -n 2 nmcli d wifi list & |
|
|
|
else |
|
|
|
else |
|
|
|
toggleconnection "$CHOICE" |
|
|
|
toggleconnection "$CHOICE" |
|
|
|
fi |
|
|
|
fi |
|
|
|