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>
Install tinydm:
sudo apk add tinydm tinydm-openrc
To configure SXMO as the used session use :
sudo tinydm-set-session -f -s /usr/share/xsessions/sxmo.desktop
Also ensure your user id is used in /etc/conf.d/tinydm
$ whoami | xargs getent passwd
stacy❌10000:10000:Linux User,,,:/mnt/sd/home/stacy:/bin/bash
/etc/conf.d/tinydm
AUTOLOGIN_UID=10000
Then configure the services:
sudo rc-update del xdm
sudo rc-update add tinydm
Then reboot.
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
This add a script to use either the user hook or the default one.
Sometime we checked the user hook or a default code. We move this
default code in a defaut hook.
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
I don't think users (through sxmo-build, for example) need to run
shellcheck just to install this. Note that .build.yml still runs it.
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
Instead on using `cp`, `chown`, `chmod`, and `mkdir`, now use
`install`. This has the nice side-effects that the setuid bit is
correctly preserved on systems using GNU coreutils instead of busybox
and that the access rights are not changed in the build directory.
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>