Fix bugs with incall functionality around statusbar showing call duration
This commit is contained in:
parent
c5b665ca4f
commit
5f8aad0386
4 changed files with 11 additions and 16 deletions
|
@ -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
|
||||
)")"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue