aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-01-10 22:29:52 +0530
committerGitHub <noreply@github.com>2025-01-10 22:29:52 +0530
commite68ba7bd8af26ba91b03e2411d05da2fe9212641 (patch)
treeec3a05e10b0ba0def3a6bb1f155e6d1b714d67c4 /README.md
parentd2f1ccb2882c7ae421dba1e4c386241fed3b93be (diff)
parent6a4ac1d25ab564a176037b2efb95a66b6a2d9f9b (diff)
downloadanypinentry-e68ba7bd8af26ba91b03e2411d05da2fe9212641.tar.gz
anypinentry-e68ba7bd8af26ba91b03e2411d05da2fe9212641.zip
Merge pull request #10 from jlucas8/posix
posix compliance: replace `echo -e`
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4f462aa..56672aa 100644
--- a/README.md
+++ b/README.md
@@ -22,5 +22,5 @@ The following variables inside `./anypinentry` script file can be configured.
You will need to use `AP_PROMPT`, `AP_YES`, `AP_NO`, `AP_ERROR` variables inside your actions.
* `prompt_action` - Action to show a prompt asking for password (Example using dmenu with password patch - `dmenu -P -p "$AP_PROMPT"`)
-* `confirm_action` - Action to confirm something (YES or NO) (Example with dmenu - `echo -e "$AP_YES\n$AP_NO" | dmenu -p "$AP_PROMPT"`)
+* `confirm_action` - Action to confirm something (YES or NO) (Example with dmenu - `printf "%s\n%s" "$AP_YES" "$AP_NO" | dmenu -p "$AP_PROMPT"`)
* `display_error_action` - Action to display error messages to user (Example with notify-send - `notify-send "$AP_ERROR"`)