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:
parent
afb6634bec
commit
1ab519531c
6 changed files with 259 additions and 55 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue