~mil/sxmo-tickets#493: 
Icon for modem status?

Hi all.

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' nf-mdi-sim_off.

Thanks a lot for your work!

Status
RESOLVED FIXED
Submitter
~e-v
Assigned to
No-one
Submitted
2 months ago
Updated
a month ago
Labels
No labels applied.

~phartman 2 months ago

I started working on this. Can you test? https://lists.sr.ht/~mil/sxmo-devel/patches/31474

~e-v 2 months ago

It seems to work fine on pmOS Edge and the master version of sxmo-utils. Thanks a lot for working on this!

~phartman REPORTED FIXED a month ago

Register here or Log in to comment, or comment via email.