Maarten van Gompel
24f8ed8478
wait for modem for a bit when it is not immediately available yet (e.g. after crust wakeup)
4 years ago
Maarten van Gompel
1608ab1ae4
increased verbosity in various scripts, and do not run xargs kill when argument is empty (cleaner and clearer stderr messages)
4 years ago
Maarten van Gompel
00cf2ba3ec
reduce wifi reconnection time after deep sleep #150
4 years ago
Maarten van Gompel
9346bf6e15
shellcheck fixes after sorting notifications menu
4 years ago
Julian P Samaroo
0c2b11c2f3
Sort notifications menu
...
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Maarten van Gompel
774f1eabdf
Fixed rotate gesture #141
4 years ago
Reed Wade
6ce40b7daf
scale megapixel gtk ui x2
...
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Maarten van Gompel
9f11cd6a63
Implemented shortcut for picking up incoming calls #135
4 years ago
Maarten van Gompel
a42f160ed2
make modemmonitor's dbus hooks more robust and prevent being triggered multiple times
4 years ago
Maarten van Gompel
9a4df9fd28
reworking handling finished/missed calls #134
4 years ago
Maarten van Gompel
2a07cab638
implemented lookupcontactname() in call/text handler, removes non posix-compliant substitutions
4 years ago
Maarten van Gompel
54f3332dea
full contact list (--all) now also includes short/special numbers #104
4 years ago
Maarten van Gompel
4b4bfc851f
explicitly delete calls after hangup/termination #134
4 years ago
Maarten van Gompel
06b25c3bc9
Restore audio to original state after finishing a call #133
4 years ago
Maarten van Gompel
4a90d86f56
Sane message when terminating call with unknown number and more verbose output to stderr from modem scripts
4 years ago
Anjandev Momi
fc051045c9
added aerc to app menu
4 years ago
Maarten van Gompel
c421d49503
added calcurse to app menu
4 years ago
Maarten van Gompel
6f2f03517b
dino menu entry: case adjustment for consistency
4 years ago
Maarten van Gompel
c554044c41
Revert "sxmo_appmenu: fixed only one userscript appearing in Scripts menu"
...
This reverts commit 0f9a86dece
.
4 years ago
Anjandev Momi
1bf1beae15
add dino (xmpp client) to apps menu
4 years ago
Anjandev Momi
e067fd9ad6
Revert "simplify code to get phone number for incoming calls"
...
This reverts commit b0bb9ac9fc
.
This fixes the issue with modemlog having filled with extra mmcli
output
4 years ago
Anjandev Momi
0f9a86dece
sxmo_appmenu: fixed only one userscript appearing in Scripts menu
...
Signed-off-by: Anjandev Momi <anjan@momi.ca>
4 years ago
Anjandev Momi
abd931d9ce
shellcheck fix: use -n instead of ! -z
4 years ago
Maarten van Gompel
031bb9de21
no need for number validation when cancelling dialer
4 years ago
Anjandev Momi
236ab9a343
Do not display text only numbers as options when dialing or composing new texts
...
Signed-off-by: Anjandev Momi <anjan@momi.ca>
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Anjandev Momi
f149b7e250
updated sxmo_contacts comment with acceptable numbers
...
Signed-off-by: Anjandev Momi <anjan@momi.ca>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Anjandev Momi
741defe781
Fix short phone numbers or phone numbers with text do not appear in scripts
...
Fixes #106
Signed-off-by: Anjandev Momi <anjan@momi.ca>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Anjandev Momi
b0bb9ac9fc
simplify code to get phone number for incoming calls
...
This code uses fewer programs and the code now matches the code for
getting phone number of incoming text.
Signed-off-by: Anjandev Momi <anjan@momi.ca>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Maarten van Gompel
17e3b623bf
modemmonitortoggle may take an argument "on" or "off" to force toggling to a desired state
...
Signed-off-by: Anjandev Momi <anjan@momi.ca>
4 years ago
Maarten van Gompel
c915de82d8
Force new process group using setgid -f when starting anything that may possibly kill an entire progress group (kill -9 0) #117
...
This fixes https://todo.sr.ht/~mil/sxmo-tickets/117 and the crashes when
toggling the modem monitor.
Signed-off-by: Anjandev Momi <anjan@momi.ca>
4 years ago
Anjandev Momi
8b87386006
Fixed user log out when selecting "Close Menu" in dialer
...
See issue:
https://todo.sr.ht/~mil/sxmo-tickets/117
4 years ago
Reed Wade
08b95c6182
sxmo_files now respect user desktop configurations
...
We use our own implementation of xdg-open that replace the hardcoded
script used in sxmo_files.
We add and will maintain some desktop entries to offer a suckless
experience by default.
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
4 years ago
Maarten van Gompel
a90f565c12
minor quote fix to satisfy shellcheck
4 years ago
Maarten van Gompel
7fb7cd70f3
various indentation fixes (spaces to tabs and stripping trailing whitespace)
4 years ago
ivoulis
24380603a4
Do not start lisgd if it is not running (e.g. lockscreen)
4 years ago
Miles Alan
96931ce22c
Add back saftey hook for incoming calls to delete notifications if none incoming
4 years ago
Miles Alan
f2fc6a406e
Missed call rework: Use dbus to check for missed calls & properly delete pickup
...
Use dbus to monitor for missed calls. Missed calls used to work but had a
regression due to the work to make text/calls used dbus. This adds the proper
dbus hook for missed calls as well and also changes the incoming call
notification to allow for multiple incoming calls (theoretically).
Tested for a single caller and transitioning the pickup notification
into a missed call notification and all is working good.
4 years ago
Serge E. Hallyn
16d77bcd86
sxmo_weather: add wind direction
...
It's important for me to see wind direction in addition to speed. I
understand most people probably don't care, so we should probably show
this only if xinit sets WEATHER_WIND_DIR=1? But we can bikeshed that
later, for now here's what I'm using on my phone right now.
Signed-off-by: Serge Hallyn <serge@hallyn.com>
4 years ago
Anjandev Momi
e11cf9e523
move sxmo data to XDG_DATA_HOME
...
Breaking change. Make sure you send an email to the mailing list
telling users to move their
$XDG_CONFIG_HOME/{modem,notifications} files/folders to
$XDG_DATA_HOME
Signed-off-by: Anjandev Momi <anjan@momi.ca>
4 years ago
Anjandev Momi
ab3bb9bcdd
kill the keyboard on rotation
4 years ago
Reed Wade
cd7762d92a
The ring hook was blocking the notification writing.
...
The hook must be run asynchronously. This allow ringtones to be played
using mpv by exemple.
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Reed Wade
6f94bb8159
Add a new pickup hook that trigger on accept incoming calls
...
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Reed Wade
7066b54897
Give notification file to the notification hook
...
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Maarten van Gompel
be05c10163
quote fix as suggested by shellcheck
4 years ago
Anjandev Momi
b56cd2b6cb
sxmo_youtube: move history file to XDG_CACHE_HOME
4 years ago
Maarten van Gompel
ce188e2f26
Use $SHELL, fix after patch: Start terminal with a login shell if run from dmenu
...
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Andre Ramnitz
8fc92c55d5
Start terminal with a login shell if run from dmenu
...
Fixes sourcing of /etc/profile etc.
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Andre Ramnitz
a59aa85ee4
Don't touch $TERM
...
This name already exists and is usually set
by the terminal or a multiplexer.
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Maarten van Gompel
00846a1608
don't stumble over single quotes when sending SMS texts and replace double quotes with double single quotes to avoid trouble (a bit patchy)
...
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Reed Wade
f539e45459
Prevent stderr that DRAFT_FILE could not be found.
...
DRAFT_DIR is also used in the main loop so this prevent logging to sterr
ls: cannot access '/home/foobar/.config/sxmo/modem/draft': No such file or directory
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago