Miles Alan
747da7863c
Fix shellcheck
2020-08-22 16:45:49 -05:00
Miles Alan
45c571727c
Cleanup logic for notification LED setting; increase default call volume
2020-08-22 16:16:26 -05:00
Miles Alan
8e1c40e832
Delete calls from modem on terminating the in call script
2020-08-22 14:53:17 -05:00
Miles Alan
17fb103ee3
Create a new notification when there is a missed call
2020-08-22 13:44:05 -05:00
Miles Alan
5f8aad0386
Fix bugs with incall functionality around statusbar showing call duration
2020-08-22 12:21:51 -05:00
Miles Alan
c5b665ca4f
Look for ATTRIB events for notifications updates; remove "Pickup" menu
...
Picking up call can be done from both dunst notification & notifications menu;
so for more consistency / less bugs the Pickup menu entry has been removed.
2020-08-22 12:21:51 -05:00
Maarten van Gompel
7ec9ca2db1
pass incoming phone number to the ring hook (allows distinctive rings/actions based on caller) and added a similar sms hook
2020-08-18 20:59:22 -05:00
Miles Alan
faf9bfc48d
Refactor notifications work to use 1 interface for writing notifs & use dates
...
Summary of changes:
1. Always use the sxmo_notificationwrite.sh script to write notifications
rather then sometimes using echo to the DIR
2. Reorder args for notiffile spec to be action as 1st line, watchfile 2nd, and
rest as msg; this way msg can be multiple lines without propogating bugs
3. Write calls as a standard notification via sxmo_notificationwrite.sh
4. Use datestamps from notification files instead of filename, this way (3)
works without extra logic
5. Various style fixes
2020-08-05 23:32:39 -05:00
iressa
e6635ba7ef
Notification patch v4
2020-08-05 23:32:39 -05:00
Miles Alan
4362eacde2
sxmo_modemtext.sh - use variable name $CONTACT rather then $TDIR
2020-07-30 19:39:20 -05:00
Anjandev Momi
a8910cb2c6
text: show logfiles in order of last contacted (use sxmo_contacts.sh)
2020-07-30 19:33:00 -05:00
Miles Alan
3e23624651
Fix typo in sxmo_modemtext.sh
2020-07-23 16:45:15 -05:00
Anjandev Momi
92c368c01f
allow texting over ssh terminal
...
Signed-off-by: Miles Alan <m@milesalan.com>
2020-07-23 16:44:09 -05:00
Miles Alan
36520d487e
Change ring hook location to ~/.config/sxmo/hooks/ring
2020-07-18 10:38:28 -05:00
Dmytro
9378530a1b
Ringing sound configurable
...
Signed-off-by: Miles Alan <m@milesalan.com>
2020-07-18 10:38:28 -05:00
Miles Alan
5c4c6c15e2
Refactor xinit to be more structured and set $EDITOR if unset to vis
2020-07-18 10:14:58 -05:00
Miles Alan
0801bb1adb
Restructure configs into seperate folder
2020-07-12 19:29:46 -05:00
Miles Alan
d713b19199
Use sxmo_statusbarupdate.sh script instead of direct calls duplicated logic
2020-07-12 11:38:31 -05:00
Miles Alan
87c99ec024
Use USR1 signal instead of update file for updating statusbar
2020-07-12 11:32:02 -05:00
Anjandev Momi
07119a7085
make dmenus with contact names case insensitive
...
Signed-off-by: Miles Alan <m@milesalan.com>
2020-07-07 23:31:28 -05:00
Miles Alan
18745b05bb
Use setsid to update /tmp/sxmo_bar after call to refresh bar after process dead
2020-06-29 20:12:39 -05:00
Miles Alan
f058e17369
SIGKILL on close menu in dialer
2020-06-29 19:54:15 -05:00
Miles Alan
ad39251c5d
Show incoming contact name on ring; show texts in reverse chronological order
2020-06-29 18:22:02 -05:00
Miles Alan
844ce9ddef
Plus prefix strip numbers before storing into modem log
2020-06-29 15:24:34 -05:00
Miles Alan
e3f50e9d1b
Only show entries to text for directories that exist; fix number bugs
2020-06-29 15:24:30 -05:00
Miles Alan
a032e4923e
Remove +1 stripping from numbers in modem scripts
...
Note prefix stripping was unreliable because any +1XX number would break things.
The advice should be to always dial with +1 / international prefixes and store
contacts in your contacts.tsv with international codes; this way we avoid any
duplicate errors since we can be assured things in mmcli always come back w/
international prefixing automatically.
2020-06-29 11:43:22 -05:00
Anjandev Momi
f95cb51984
add contacts.tsv integration to call and text apps
...
Signed-off-by: Miles Alan <m@milesalan.com>
2020-06-29 10:30:54 -05:00
Miles Alan
c119ab0145
Pull dialing functionality into seperate script; allows in-call check to be valid
2020-06-27 21:28:46 -05:00
Miles Alan
8ee22f3038
Quote $@ where needed
2020-06-27 20:50:06 -05:00
Miles Alan
cef4de2af0
Use "$@" for expansion calls rather than manually listing argument numbers
2020-06-27 20:19:47 -05:00
Miles Alan
91d6ebb15d
Call improvements; fix bugs associated with hanging up; refresh bar on callend
2020-06-24 21:36:15 -05:00
Miles Alan
51921e5925
Fix bug preventing hanging up call upon killing window
2020-06-20 11:41:02 -05:00
Miles Alan
bca4475e0a
Show duration of call in statusbar
2020-06-20 11:41:02 -05:00
Miles Alan
a4b2724c4a
Clean up modem functionality & don't ever kill dmenu; move call monitoring to call script
2020-06-19 17:57:43 -05:00
Miles Alan
3c5a85a9a1
Add windowify toggle to the in call menu
2020-06-17 06:40:59 -05:00
Miles Alan
521243a407
Fix sxmo_modemlog.sh to use st -f
2020-06-17 06:40:59 -05:00
Miles Alan
2a925ed1a0
Allow calling numbers with + prefix
2020-06-14 10:07:04 -05:00
Miles Alan
049a93e5d8
Shellcheck and tabindent all scripts
2020-06-13 20:36:13 -05:00
Miles Alan
bd5ead19e5
Fix shellcheck errors
2020-06-10 17:19:54 -05:00
Miles Alan
7f31a3da40
Simplify audio routing for modem call; add linemic via audio routing -l
2020-06-10 17:06:13 -05:00
Anjandev Momi
1b78c3cf2f
modem: use XDG_CONFIG_HOME to save logs
...
Signed-off-by: Miles Alan <m@milesalan.com>
2020-06-07 10:05:46 -05:00
Miles Alan
66eeb46a55
Fix bug - dialer launches into screenlock upon starting call
2020-06-07 10:05:46 -05:00
Miles Alan
b3804adf0c
Disable lisgd before locking screen in call script
2020-05-30 15:15:05 -05:00
Miles Alan
6777dbdebd
Fix bug w/ newcall() in sxmo_modemmonitor.sh preventing ringing call from being logged
...
Resolves sxmo-tickets #26 reported by ~jan_wagemakers
2020-05-25 14:55:26 -05:00
Miles Alan
ba8e8b0b9a
Fix typo when modem not found you're -> your
2020-05-22 21:55:56 -05:00
Miles Alan
fa3550c638
Add warnings to modem scripts if the modem is not present
2020-05-20 17:18:02 -05:00
Miles Alan
ae5d32f369
Don't log grep test in modem dialer
2020-05-20 16:47:50 -05:00
Miles Alan
962375a49f
Remove blank entry from dialer menu
2020-05-19 21:30:18 -05:00
Miles Alan
34b2c57038
Fixes related to cleaning up modem functionality; fix audio; add flash toggle
2020-05-17 18:59:47 -05:00
Miles Alan
8b52988ad2
Remove sudo from mmcli commands in modem scripts
2020-05-11 22:13:15 -05:00