it's subjective, but the old one was rather ugly imho. Of course people
should customise it in their own custom xinit, but it might be
better if the default is a bit more appealing to the eye as it's the
first thing new users will see.
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
The dialer only included recent callers, but there was no way to access
the full contact list (contacts.tsv). I added a "more contacts" options
that calls sxmo_contacts --all, providing an alphabetically sorted list
of all your contacts. It also works for the texting menu.
This is a cleaned up version of an earlier patch by Maarten van Gompel.
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This allow userscripts to send sms using the sxmo way so we now can
create our own sms clients.
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
If a notification body include a double whitespace, the PICKEDNOTIFFILE
computation fail to match cause we striped them when building the dmenu
choices.
To give an example, try to write this notification as
$ sxmo_notificationwrite.sh "random" \
"st -e tail -n9999 -f \"$HOME/.config/sxmo/xinit\"" \
"$HOME/.config/sxmo/xinit" \
"this body is broken"
This patch fix this bug.
(Maintainer note: I changed the awk invocation to use tr, as suggested
by anjan)
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
We quote the sms path on notificationwrite to prevent buggy commands.
mn: This patch fixes texts from numbers like "CREDIT AGRICOLE"
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
Text messages which fail to send will now automatically postpone
(maintainer note: I incorporated a minor shellcheck fix)
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
Instead of looping over mmcli commands to check for incoming
calls and texts every 3s, use dbus-monitor to tell us when
something is coming in. This should save some battery life
as well as reduce the delay in new call/msg notification.
I was running on the latest released scripts, so have not
strictly tested this with git master. Note that I dropped
the call to checkmissedcalls. Perhaps we should still run
that at firststart?
Signed-off-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
I have the impression that setting environment variables in the custom
xinit script doesn't always work properly (no idea why). Putting them in
~/.profile seems to be more robust. Sourcing it is a good idea anyhow,
hence this patch:
Stop a compiler warning about overwriting the 100 char buffer with larger
string.
programs/sxmo_screenlock.c:61:3: note: ‘sprintf’ output between 39 and 294 bytes into a destination of size 100
Use ffmpeg to convert V4L2 data into rawvideo data and pipe that to mpv. This
lets us use mpv's rawvideo demuxer which is instant for transpose / rotation.
Removes the X handling of rotation.