Maarten van Gompel
86fcb1832d
set default PREFIX to /usr again (rather than /) after applying the last patch, added DESTDIR as well, makes things more compatible with how suckless does things
4 years ago
Frank Oltmanns
371d3cdd52
Support `make install` on non-busybox systems
...
Instead on using `cp`, `chown`, `chmod`, and `mkdir`, now use
`install`. This has the nice side-effects that the setuid bit is
correctly preserved on systems using GNU coreutils instead of busybox
and that the access rights are not changed in the build directory.
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
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
Maarten van Gompel
6750e3e47b
fix for calling postwake script after wakeup #130
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
Maarten van Gompel
995a80c40c
Added a shellcheckrc and allowing string replacement in scripts for now (not POSIX compliant)
4 years ago
Daniele Rogora
bcf4f5c249
Workaround for reliable incoming calls waking up from CRUST
...
Replaced system() call with writefile()
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
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
Miles Alan
9aa5c7bf16
Standardize install path for mimeapps.list to use $PREFIX
4 years ago
Reed Wade
fadbe72039
Use mono differencial as default Line Out mode
...
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
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
Anjandev Momi
f2a3ad47cf
Added default sxmo applications mimeapps.list
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
10f813b1eb
editorcheck update: restrict to shell scripts and C programs for now, and removing the maximum line length check for now.
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
Miles Alan
8abe870012
Make suspendtimeout for screenlock cutomizable via SXMO_SUSPENDTIMEOUTS
...
This way if someone wants a longer or shorter timeout that possible
by setting the env var SXMO_SUSPENDTIMEOUTS.
Also change the default to be 35s. This is roughly the duration of
ringing for an incoming phone call.
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
7d4b729b85
fix builds button to only show sxmo-utils tests
4 years ago
Anjandev Momi
0a90d03154
changed line length to 80
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
65f18565f1
add editorconfig and editorconfig check
4 years ago
Anjandev Momi
ab3bb9bcdd
kill the keyboard on rotation
4 years ago