This fixes handling input with locked screen on non-pinephone devices.
I think really nobody would connect second touchscreen to a phone, so we
can assume there's only one we need.
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Wireless devices have "Wireless" type, so we search for nodes with type
"Battery". We also may handle wireless devices that way, if anyone needs
that.
Signed-off-by: Stacy Harper <contact@stacyharper.net>
This allow the user .profile to switch case depending on the default
values. It is mandatory by example to setup custom wvkbd or svkbd,
depending on the wm we use.
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
We had issue in ssh mode and this new bemenu curses mode.
No issue on other sxmo menu that use successive bemnu but this appmenu
loop displaying some ~F char when you select a subentry.
I refactorised a little bit this script and now it works well. I'm not
stil not sure of what was causing this.
By the way I changed some echo for printf. I also added the wrap
argument for bemenu in ssh mode.
I enlarge the sleep on overflow by 2. But I make this check only
applicable for holded buttons.
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
The size was perfect to fit between keyboard and the status bar but then
it was hard to trigger page up without triggering lisgd gesture.
Make bemenu a little tinier to simplify this
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This add some config file to the check list. It also handle ssh and none
mode to check all files.
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This is maily for docked mode but those bind are required.
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
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>
The user may want to change completly the buttons actions in normal and
locked mode. This allow this !
Btw, we also provide default inputhandler actions (as example) to help
the user to build their own.
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>