Commit graph

41 commits

Author SHA1 Message Date
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
fe519a80b3 Make sxmo tinydm compatible
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
	stacy10000: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>
2021-08-15 15:53:45 -07:00
Nihal Jere
ce3f2ea319
replace setpineled C program with a shell script
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-08-11 22:27:28 +02:00
Maarten van Gompel
13b29f7139
Added a wifi toggle #290
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-07-25 17:03:58 +02:00
Maarten van Gompel
47950deece
Makefile cleanup
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-07-25 16:53:13 +02:00
Maarten van Gompel
3ff244a3e5
check custom hooks against defaults in sxmo_migrate.sh and allow user to open editor immediately
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-07-25 09:13:54 +02:00
Anjandev Momi
ccc6223c1b Revert "add a configurable daemon that warns on low battery"
This reverts commit c7e0e3b656.

Signed-off-by: Anjandev Momi <anjan@momi.ca>
2021-07-15 18:29:35 -04:00
Stacy Harper
e6ea657634 Cleanup hooks
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>
2021-06-29 22:43:16 +02:00
noneofyourbusiness
c7e0e3b656 add a configurable daemon that warns on low battery
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-06-21 23:01:48 +02:00
Anjandev Momi
725d89d6d6
Rework the sxmo screenlock 2021-06-06 09:41:36 +02:00
Stacy Harper
13bdc0e415 Remove polkit rules as it is now in pmOs package
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/2197/diffs?commit_id=5886e238babe8fd19428b4e05f89a371ed1ef4f6
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-05-29 22:48:33 +02:00
Clayton Craft
d42c4f58d4
programs/sxmo_setpinebacklight: drop unused application
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-05-20 09:44:53 +02:00
Maarten van Gompel
5f82699014 Added a more detailed xinit_template and added some default media resources (wallpaper,startup tune,keypress sound) that are preconfigured in the template 2021-03-29 14:00:09 +02:00
tetrakist
890b9bc439 Add HiDPI support: Xft Xresources, and xorg monitor dimesions
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-03-15 21:29:52 +01:00
Maarten van Gompel
414f84070f added a notice that users don't forget to add sxmo-setpermissions to their init system 2021-03-15 14:54:45 +01:00
Maarten van Gompel
c51414257e changed sxmo-pinephone openrc script to be device-agnostic and invoke a sxmo-setpermissions.sh instead #169 2021-03-15 13:13:27 +01:00
Maarten van Gompel
efef4fc16a added make test 2021-03-01 21:00:40 +01:00
Jochen Sprickerhof
6bdfb59f7b Don't run shellcheck in make all
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>
2021-03-01 20:58:41 +01:00
Jochen Sprickerhof
004e0896a4 Don't fail when running make clean twice
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-03-01 20:58:41 +01:00
Maarten van Gompel
7669fa341e adding icons to menus 2021-02-01 18:32:32 +01:00
Maarten van Gompel
ca88d3029e Enable user access to pinephone hardware kernel interface through openrc script, remove setuid 0 requirement 2021-01-30 21:41:08 +01:00
Maarten van Gompel
00cf2ba3ec reduce wifi reconnection time after deep sleep #150 2021-01-30 21:40:56 +01:00
Maarten van Gompel
861eac8cca update status bar quicker after connection to wireless 2021-01-30 13:06:53 +01:00
Maarten van Gompel
2ea6612df6 fix after last patch: no prefix for configuration files 2021-01-30 00:13:41 +01:00
Maarten van Gompel
86fcb1832d set default PREFIX to /usr again (rather than /) after applying the last patch, added DESTDIR as well, makes things more compatible with how suckless does things 2021-01-30 00:01:24 +01:00
Frank Oltmanns
371d3cdd52 Support make install on non-busybox systems
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>
2021-01-29 23:34:41 +01:00
Miles Alan
9aa5c7bf16 Standardize install path for mimeapps.list to use $PREFIX 2020-12-01 17:21:43 -06:00
Anjandev Momi
f2a3ad47cf Added default sxmo applications mimeapps.list 2020-11-28 03:10:51 -05:00
Miles Alan
f16b3f9762 Add sxmo_vibratepine to programs list for Makefile 2020-09-15 19:37:33 -05:00
Serge E. Hallyn
41f2adf18a Makefile: be a little more conventional
The all target will build the programs, and each program has its
source as build dep.

Signed-off-by: Serge Hallyn <shallyn@cisco.com>
2020-09-15 19:29:01 -05:00
Maarten van Gompel
b513949b95 Added make clean 2020-07-26 10:22:31 -05:00
Miles Alan
579503ee1f Add udev rules to update status bar plugging in / unplugging charger 2020-07-12 19:29:49 -05:00
Miles Alan
0801bb1adb Restructure configs into seperate folder 2020-07-12 19:29:46 -05:00
Miles Alan
1c8efb9950 Add shellcheck task to Makefile 2020-06-07 10:17:14 -05:00
Miles Alan
546d2209a7 Add polkit rule to enable modemamanger for users in group plugdev 2020-05-12 19:12:38 -05:00
Miles Alan
22d974f22f Cleanup calling - mostly working; misc cleanup scripts; add vibrate program 2020-05-11 20:54:54 -05:00
Miles Alan
ae983ef8c8 Various progess on calling & texting; reorganize scripts dirs by category 2020-04-25 07:55:22 -05:00
Miles Alan
ed09f2b8b3 New scripts: sxmo_{youtube,weather,rss,camera}.sh; Implement screenlock
Various minor script bugfixes
2020-04-03 21:08:10 -05:00
Miles Alan
9beef511af Install alsa dmix setup to /etc/alsa/conf.d/ insted of /etc/asound.conf
Fix sxmo_timer.sh
Fix prefix
2020-03-22 09:27:11 -05:00
Miles Alan
309ba5679b Autoenable dmix by adding basic dmix conf to /etc/asound.conf 2020-03-21 23:36:40 -05:00
Miles Alan
8ae9fbdb1c Initial commit 2020-03-15 18:42:35 -05:00