No description
Find a file
Stacy Harper 55985a8f20 Rework the status bar
Goals of this patch :

- display the signal quality

I used a thermometer icon cause there is no available icon with a
filleable bar o_O

- display the currently used network technology (4g, 3g, etc...)

I used the mapping from:

https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/blob/master/include/ModemManager-enums.h#L220

Dylan also said:

Anything from POTS to GPRS = 2G
UMTS to EVDOB = 3G
LTE = 4G
5GNR = 5G

- display the modem infos when modemmonitor is disabled

We want to decorelate the modem monitor from the icon. We still want to
know easily if modem monitor is runing but we also want those modem
infos if not.

- simplify the modem state determination (no state file anymore)

The statusbar probe mmcli itself.

- fix the leading timer without call issue

This was caused by the "pgrep -f" command that was matching itself.
Using a simple "pgrep" looks good enough anyway.

- fix some sxmo_statusbar update spaming issues (vol control)

This one point took me a lot of time to findout a good solution. We want
the USR1 kill to be spamable without causing issue to the displayed bar.
We dont want mid rendered bar (half the icons).
We dont want empty bars (empty stdout line).

I use some variable to store pid, smart waits and a better trap function
to make it to works cleanly. Now we can spam statusbarupdate. Only the
last one will actually redraw the bar.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-09-12 19:59:03 +02:00
configs added a default audiostart hook to force output over main speaker and set a sane default volume 2021-09-12 09:32:16 +02:00
programs Replace tabs with spaces to line up usage 2021-08-27 11:11:36 +02:00
resources new default wallpaper for the 1.5.0 release 2021-07-25 08:58:30 +02:00
scripts Rework the status bar 2021-09-12 19:59:03 +02:00
.build.yml adding icons to menus 2021-02-01 18:32:32 +01:00
.editorconfig editorcheck update: restrict to shell scripts and C programs for now, and removing the maximum line length check for now. 2020-11-20 18:13:31 +01:00
.gitignore Initial commit 2020-03-15 18:42:35 -05:00
.shellcheckrc implemented lookupcontactname() in call/text handler, removes non posix-compliant substitutions 2020-12-09 15:46:21 +01:00
LICENSE Add license 2020-06-19 18:02:09 -05:00
Makefile SWMO - SXMO over Wayland 2021-08-22 13:23:22 +02:00
README.md badge: only show status for commits 2021-05-10 21:44:18 -04:00

sxmo-utils

builds.sr.ht status

This repository contains scripts and C programs to support Sxmo.

Note all scripts pass shellcheck and are tab-idented.