Fix bugs with incall functionality around statusbar showing call duration

This commit is contained in:
Miles Alan 2020-08-22 11:19:27 -05:00
parent c5b665ca4f
commit 5f8aad0386
4 changed files with 11 additions and 16 deletions

View file

@ -8,7 +8,7 @@ update() {
if pgrep -f sxmo_modemcall.sh; then
NOWS="$(date +"%s")"
CALLSTARTS="$(date +"%s" -d "$(
grep call_start ~/.config/sxmo/modem/modemlog.tsv |
grep -aE 'call_start|call_pickup' "$XDG_CONFIG_HOME"/sxmo/modem/modemlog.tsv |
tail -n1 |
cut -f1
)")"