Move no before yes to confirm

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
Stacy Harper 2021-04-01 07:52:00 +02:00 committed by Maarten van Gompel
parent 7c7496c06f
commit 016363dd57

View file

@ -52,7 +52,7 @@ editcontactnumber() {
deletecontact() { deletecontact() {
name="$(echo "$1" | cut -d" " -f2)" name="$(echo "$1" | cut -d" " -f2)"
ENTRIES="$(printf "$icon_chk Yes\n$icon_cls No")" ENTRIES="$(printf "$icon_cls No\n$icon_chk Yes")"
PICKED="$( PICKED="$(
echo "$ENTRIES" | echo "$ENTRIES" |
dmenu -c -l 3 -p "$icon_del Delete $name ?" dmenu -c -l 3 -p "$icon_del Delete $name ?"