Commit Graph

13 Commits

Author SHA1 Message Date
hazardchem
bb0c5578b1 sxmo_terminal.sh: Add alacritty as option
Signed-off-by: hazardchem <pthom44@live.com.au>
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
2023-06-05 13:41:00 +02:00
Anjandev Momi
1123c0f072 Change license to AGPL-3.0-only 2022-03-15 08:00:00 -04:00
Stacy Harper
8a3b1b54ee Allow TERMCMD arguments
This also simplify sxmo_open.sh
2022-01-12 15:17:19 +01:00
Peter John Hartman
b87489198b TERMCMD: allow user to specify arguments as TERMCMD
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2022-01-09 19:39:49 +01:00
Zach DeCook
022098fd81 sxmo_terminal.sh: Run default shell when called with no options
This fixes the default 'powerbutton_three' action,
which apparently nobody noticed/cared it was broken.

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2022-01-07 10:58:40 +01:00
Zach DeCook
6274f1f222 shebangs: change to /bin/sh
Any sane linux system will have a posix compliant shell at /bin/sh
This change will allow us to better detect running scripts using pgrep.

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-12-20 14:29:25 +01:00
Zach DeCook
9378ca1267 apps: add VTE 3
VTE is a terminal emulator library which has really good touchscreen->mouse support.
It's used to make other terminals (such as xfce, kgx, gnome-terminal),
but comes with an example application, which works well,
aside from lacking config files support.
Hence, cli arguments can be passed in SXMO by using
TERMCMD="vte-2.91 --transparent=80 --use-theme-colors --"

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-11-30 15:39:10 +01:00
Stacy Harper
8a27933c47 SWMO - SXMO over Wayland
This is a huge patch for Swmo, Sxmo over Sway.

It is Dwm backward compatible so dwm users should not expect regressions.

If you install all dependencies, you then can toggle between Sway and Dwm using a new config entry. It will reboot the phone.

This commit also contains:
    * Make the modemmonitor bullet proof
    * various other smaller fixes

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-08-22 13:23:22 +02:00
Stacy Harper
60dd08fa27 Fix sxmo_modemtext in terminal mode
As we rely on the terminal name to use the contextual menu, we used the
st target directly, preventing to use the taillog command in terminal
mode.

Add an optional TERMNAME env variable to manage this smoothly.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-06-21 22:59:55 +02:00
Stacy Harper
c5c5537873 Do not enforce -e TERMCMD args and fix TERMMODE
Enforcing -e break some possibilities to use TERMCMD that dont use it.

TERMCMD should be setup in xinit. This way, in ssh mode, the value still
is empty. This way, some custom bash or tmux config could use
it, configuring it.
2021-06-09 08:42:51 +02:00
noneofyourbusiness
1121e29b3e 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>
2021-06-04 21:50:59 +02:00
Maarten van Gompel
eb34a970cb TERMMODE was used but not set in sxmo_modemtext.sh + sanity check for sxmo_terminal
(fixed the shellcheck problem)

Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-05-23 14:37:11 +02:00
Stacy Harper
a3e4dc0fa4 Make all sxmo menu SSH mode compatible
We then simplify the sxmo_modemtext that was already using SSH related
behaviors.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-04-10 13:20:19 +02:00