~mil/sxmo-utils

Cleanup sxmo_file.sh

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
sxmo file only should open the selected file

Opening all following files only is meaningfull for pictures or videos
but crazy when openning pdfs with zathura by example.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
Disable SC2120 cause the method is called with a shortcut
sxmo_appmenu.sh: add pulsemixer to app menu

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
sxmo_appmenu: add gnome chess

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
fix sxmo_phonemenu number used

We were not shifting the cmd argument so we can only save "newcontact"
as phone number...
Improve contact menu script

- Make it stopeabable with gesture or Esc
- Prefer printf over echo
Add x-scheme-handler/tel handler with a dedicated menu

This menu allow the user to

- call
- text
- save

The tel number.
Allow phone number find in send text submenu

This allow the user to use a non formated phone number. We
split valid number check in a dedicated script to allow this.
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>
added a default audiostart hook to force output over main speaker and set a sane default volume

Signed-off-by: Stacy Harper <contact@stacyharper.net>
fix for bottomleft corner lock gesture (#361)

Fixes https://todo.sr.ht/~mil/sxmo-tickets/361

Signed-off-by: Anjandev Momi <anjan@momi.ca>
fixed gesture names; a lot of gestures were erronously named corner rather than edge

This causes us to have both a 'bottomleftcorner' and 'leftbottomcorner',
the latter is now 'leftbottomedge' and is interpreted as 'a left swipe
along the bottom edge' while 'bottomleftcorner' is 'diagonal swipe from
the bottom left corner'.

Signed-off-by: Anjandev Momi <anjan@momi.ca>
35b312c0 — ~baroque0 19 days ago
added scripts/core/sxmo_sws.sh sway window switcher

Signed-off-by: Stacy Harper <contact@stacyharper.net>
bump up the number of lines in sxmo_dmenu.sh (see patch to sxmo-dmenu)
Move operating system detection to sxmo_common

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Add USB Hotspot

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Add a check before toggeling wm

Currently on 1.5.1, sway is not installed nor setted up. This WM toggle
entry cause a tty soft lock !

This fix this with a very too simple check but that will prevent this
case.
Hide border on Sway when only one window is present

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
Add and setup nclutter-xfixes

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
Next