replace "st -e" with sxmo_terminal.sh and edit it to use st -e instead of st

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
noneofyourbusiness 2021-06-04 11:11:36 +02:00 committed by Maarten van Gompel
parent 358d79894e
commit 1121e29b3e
14 changed files with 56 additions and 54 deletions

View file

@ -11,4 +11,4 @@ modem_n() {
echo "$MODEMS" | grep -oE 'Modem\/([0-9]+)' | cut -d'/' -f2
}
st -e sh -c "mmcli -m $(modem_n) && read"
sxmo_terminal.sh sh -c "mmcli -m $(modem_n) && read"

View file

@ -54,7 +54,7 @@ sendtextmenu() {
fi
if [ "$TERMMODE" != "true" ]; then
st -e "$EDITOR" "$DRAFT"
sxmo_terminal.sh "$EDITOR" "$DRAFT"
else
"$EDITOR" "$DRAFT"
fi