dmenu -> rofi
This commit is contained in:
@ -1,23 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
choice=$(echo -e " " | dmenu -p "calc")
|
||||
|
||||
while :; do
|
||||
case $choice in
|
||||
|
||||
"exit")
|
||||
break
|
||||
;;
|
||||
|
||||
"copy")
|
||||
echo $answer | xclip -selection clipboard
|
||||
break
|
||||
;;
|
||||
|
||||
*)
|
||||
answer=$(qalc $choice)
|
||||
;;
|
||||
|
||||
esac
|
||||
choice=$(echo -e "copy\nexit " | dmenu -p "$answer")
|
||||
done
|
||||
Reference in New Issue
Block a user