diff options
| author | João Lucas <jlucas@disroot.org> | 2025-01-04 01:27:53 +0000 |
|---|---|---|
| committer | João Lucas <jlucas@disroot.org> | 2025-01-04 01:27:53 +0000 |
| commit | 6a4ac1d25ab564a176037b2efb95a66b6a2d9f9b (patch) | |
| tree | 3d1015b99f53645f4eb6b961c87299be0311770f /README.md | |
| parent | 03648310717e788464e40964f7356d4b5b2674f8 (diff) | |
| download | anypinentry-6a4ac1d25ab564a176037b2efb95a66b6a2d9f9b.tar.gz anypinentry-6a4ac1d25ab564a176037b2efb95a66b6a2d9f9b.zip | |
update readme and remove unnecessary \n
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"`) |
