You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
361 B

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