diff options
Diffstat (limited to 'prompt.sh')
-rwxr-xr-x | prompt.sh | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2,5 +2,4 @@ # A dmenu binary prompt script. # Gives a dmenu prompt labeled with $1 to perform command $2. -[ $(echo -e "No\nYes" | dmenu -i -p "$1") \ -== "Yes" ] && $2 +[ $(printf "No\nYes" | dmenu -l 2 -p "$1") == "Yes" ] && $2 |