mirror of https://gitlab.com/dabruh/dotfiles.git
Change default selection.
This commit is contained in:
parent
f657438112
commit
33906348f0
|
@ -12,7 +12,7 @@ ACTION="$(xargs -n 1 <<<"$COMMANDS" | dmenu $DMENU_ARGS -p "exitctl")"
|
|||
[ -z "$ACTION" ] && exit 1
|
||||
echo "INFO: Selected action $ACTION."
|
||||
|
||||
CONFIRMATION="$(xargs -n 1 <<<"No Yes" | dmenu $DMENU_ARGS -p "Are you sure you want to ${ACTION,,}?")"
|
||||
CONFIRMATION="$(xargs -n 1 <<<"Yes No" | dmenu $DMENU_ARGS -p "Are you sure you want to ${ACTION,,}?")"
|
||||
{ [ -z "$CONFIRMATION" ] || [[ "$CONFIRMATION" != "Yes" ]]; } && exit 1
|
||||
|
||||
echo "INFO: Action confirmed."
|
||||
|
|
Loading…
Reference in New Issue