~proycon/sxmo-utils

sxmo_migrate.sh: fixed fallback color diff

It worked with GNU sed but not with busybox sed.
This current version works with both.

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
sxmo_hook_contextmenu.sh: added links options.

Signed-off-by: hazardchem <hazardchem@disroot.org>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
sxmo_hook_apps.sh: Added clipmenu and megapixels to menu.

Signed-off-by: hazardchem <hazardchem@disroot.org>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
sxmo_hook_apps.sh: Reordered apps to alphabetical order.

Signed-off-by: hazardchem <hazardchem@disroot.org>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
sxmo_hook_apps.sh: add lpa gtk (esim manager)

also move mepo to the right location

Signed-off-by: Anjandev Momi <anjan@momi.ca>
sxmo_hook_contextmenu.sh: Added All Chats option to iamb.

Signed-off-by: hazardchem <hazardchem@disroot.org>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
sxmo_hook_apps.sh: add simple scan

also change seahorse icon to key

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
sxmo_hook_contextmenu.sh: added enter url to list for netsurf.

Signed-off-by: hazardchem <hazardchem@disroot.org>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
sxmo_hook_inputhandler.sh: added options for links/netsurf.

Actions are similar so it warranted adding to one patch.

Signed-off-by: hazardchem <hazardchem@disroot.org>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
Add in touchscreen id into OnePlus 6 profile

This is needed by dwm as screen rotation and screenoff states don't work correctly.

Signed-off-by: hazardchem <hazardchem@disroot.org>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
sxmo_hook_lockstatusbar.sh: added exec
Disable most of input handler when a locker is running

A problem was introduced in 4562daea673c6d936e2fdf9adc97984f84bd0d86
because it kind-of bypasses the state mechanism. Whenever a locker was
running the state would remain `unlock` and therefore the inputhandler
would be fully enabled and menus could still be opened with gestured
(although they wouldn't show because of the locker).

This patch solves that, it's not an ideal implementation but is
a bit of a minimal temporary patch until we revise/simplify the
entire state locking mechanism.

It also moves the burden of removing icons for peanutbutter to
sxmo_hook_statusbar instead of sxmo_hook_lockstatusbar

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Support LEDs on devices like Oneplus 6

This wasn't working out-of-the-box yet. A udev rule is needed.

This re-adds LED permissions as suggested in https://lists.sr.ht/~mil/sxmo-devel/patches/44149
and reverts a small part of 7a77851c9abfea0f8647da1c9152cb55f8c8508d .

Co-authored-by: Zach Decook <zachdecook@librem.one>

Ref: https://codeberg.org/magdesign/sxmop6/src/branch/main/rules/99-custom-led-permissions.rules
Ref: https://wiki.postmarketos.org/wiki/LEDs#Changing_permissions_in_sysfs
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
hide duplicated wifi SSIDs and show the security

If you select to connect to a wifi without security, it will not ask you
for a password anymore.

Ref: https://todo.sr.ht/~mil/sxmo-tickets/603
Co-authored-by: Maarten van Gompel <proycon@anaproy.nl>
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
documentation: improved services description

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Do nothing when dismissing notif

If a user swipes up, they will dismiss the notification without doing
its action, but if they touch the notification they will execute its
action.

This is useful when you get a lot of popups or if you (like me) have
your popup notifications decay only after a very very very long time.

I also thing the default delay for notifications should be extremely
long (24hrs), so you can easily see what sms messages you received.

NB: I have not tested on dwm (may need to add an on-touch option there
too).

NB2: I also think that this might all go into a hook instead so we can
let the user control what to do with popups?

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
sxmo_migrate: added a colordiff alternative and allow for different diff order

This implements:
* use of delta instead of colordiff or diff, if installed
* a colordiff fallback if none is installed
* support for different diff order by setting SXMO_MIGRATE_ORDER to
  "user:system", also included a runtime switch
* an extra explanation to interpret the diff correctly

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Back out "sxmo_wm: use lswt to find active window"

This backs out commit 2f800272a0b77466585c36e552ded1f02f47ff00.
added configuration file for hut-cli

makes using hut easier, example:

* hut lists patchset list
* hut ticket list
fixup: tthree-letter icon name
Next
Do not follow this link