diff options
| -rwxr-xr-x | anypinentry | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/anypinentry b/anypinentry index 8808939..4cf5c0d 100755 --- a/anypinentry +++ b/anypinentry @@ -22,7 +22,7 @@ AP_YES="Yes"; AP_NO="No"; prompt_action='dmenu -P -p "$AP_PROMPT"'; -confirm_action='echo -e "$AP_YES\n$AP_NO" | dmenu -p "$AP_PROMPT"'; +confirm_action='printf "%s\n%s\n" "$AP_YES" "$AP_NO" | dmenu -p "$AP_PROMPT"'; display_error_action='notify-send -a "Pinentry" "$AP_ERROR"'; # :: Prompt string (default if empty) @@ -212,7 +212,7 @@ Options: CMD will be executed by sh(1). The defaults are: prompt ='dmenu -P -p "$prompt_string"'; -confirm ='echo -e "$AP_YES\n$AP_NO" | dmenu -p "$prompt_string"'; +confirm ='printf "%s\n%s\n" "$AP_YES" "$AP_NO" | dmenu -p "$prompt_string"'; error-command ='notify-send -a "Pinentry" "$error__password_mismatch"'; Standard pinentry options |
