sxmo-utils/scripts/modem
Stacy Harper e428d0c4a4 Simplify the termmode detection
As we now rely on sxmo_terminal.sh and the TERMCMD env variable, we then
can simplify things.

In the sxmo dwm context, TERMCMD="st -e" so sxmo_terminal.sh will run
the command in st.

In the ssh context, we dont have TERMCMD so sxmo_terminal.sh will just
run the command

In a tmux context, we can set TERMCMD="tmux split-window" with
set-environment -g TERMCMD "tmux split-window"
so sxmo_terminal.sh will run the command in a splited window.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-06-21 22:59:20 +02:00
..
sxmo_modemcall.sh Fix the notification for outgoing call hanged up by the contact 2021-06-13 21:15:08 +02:00
sxmo_modemdial.sh Add a dsubmenu to reply/call on SMS windows 2021-03-27 23:22:40 +01:00
sxmo_modeminfo.sh replace "st -e" with sxmo_terminal.sh and edit it to use st -e instead of st 2021-06-04 21:50:59 +02:00
sxmo_modemlog.sh Call common script, moved icons to common script, removed unnecessary aliases from common (let's add them only when there are conflicts), made sure plays along with shellcheck 2021-02-01 18:32:32 +01:00
sxmo_modemmonitor.sh Fix the notification for outgoing call hanged up by the contact 2021-06-13 21:15:08 +02:00
sxmo_modemmonitortoggle.sh Prevent starting multiple modemmonitor on logout/login 2021-04-09 23:22:21 +02:00
sxmo_modemsendsms.sh Do not truncate stderr file output 2021-03-17 22:32:29 +01:00
sxmo_modemtext.sh Simplify the termmode detection 2021-06-21 22:59:20 +02:00
sxmo_unlocksim.sh various minor shellcheck fixes 2021-06-06 15:39:38 +02:00