Regarding the modem status, I wonder whether
sxmo_hook_statusbar.sh should return the value of nmcli's
state-failed-reason instead of
state in case
state is "failed" on line 51.
For example, there is no SIM card in my phone, and
<failed> is displayed in swaybar, which is not very helpful. If state-failed-reason were displayed instead, it would show
sim-missing, which would be much more friendly.
On IRC, Stacy mentioned the fact that we could use an icon instead, such as Nerd Fonts'
Thanks a lot for your work!
I started working on this. Can you test? https://lists.sr.ht/~mil/sxmo-devel/patches/31474
It seems to work fine on pmOS Edge and the
sxmo-utils. Thanks a lot for working on this!