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:
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.
- Take pictures by pressing "s" when the preview opens.
- Depends on sxmo_autorotate.sh
- movie is not currently working. See comments in code
- uses sxiv for image previews of photos taken during that photoshoot
- TODO: use sxiv keyhandlers to add a delete photo function
- See: /usr/share/examples/sxiv/key-handler
- I dont know how we would distribute this
I added a whole bunch of possibly useful tools to the
application menu (will only show if they are actually installed) and sorted
the list alphabetically. Also included a new hook so the user can completely
override the app menu. The scripts and user-scripts menus are now merged into
one.
Ensure contacts from modem and contacts lists are all fully qualified phone numbers (starting with + and carrying a country prefix). This effectively filters out older/incompatible entries.