Initial work on modem functionality

Including, checking for incoming calls, missed calls, sms and the start
of a dialer using rofi
This commit is contained in:
Jonathan Hodgson 2021-03-02 18:35:57 +00:00
parent afb6634bec
commit 1ab519531c
6 changed files with 259 additions and 55 deletions

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
export DISPLAY=:0.0
prompt=""
@ -19,14 +20,14 @@ $answer
6
9
#
# "
X"
while true; do
notify-send "$prompt"
#notify-send "$prompt"
input="$(echo "$options" |
rofi -dmenu -p "$prompt" -theme themes/dialer.rasi \
-me-select-entry '' -me-accept-entry MousePrimary)"
[ "$input" = "#" ] && exit
[ "$input" = "X" ] && exit
#exit
prompt+="$input"
done