WAYPROMPT(1) | General Commands Manual | WAYPROMPT(1) |
NAME¶
wayprompt - prompt dialog for Wayland
SYNOPSIS¶
wayprompt |
[-h] [--help] |
wayprompt |
[--title] [--description] [--prompt] [--error] [--button-ok] [--button-no-ok] [--button-cancel] [--wayland-display] [--get-pin] [--json] |
DESCRIPTION¶
wayprompt is a prompt dialog tool for Wayland. It can display messages, optionally with buttons and query for secrets. The wayland server must support the wlr-layer-shell-unstable-v1 protocol extension.
The wayprompt executable described in this manual page represents the command line version of wayprompt. The following other versions are available as well:
- •
- pinentry-wayprompt(1): The pinentry version of wayprompt.
All wayprompt versions use the same configuration file. Read wayprompt(5) for more information on configuring wayprompt.
OPTIONS¶
-h, --help
--title <string>
--description <string>
--prompt <string>
--error <string>
--button-ok <string>
--button-cancel <string>
--button-not-ok <string>
--wayland-display <string>
--get-pin
--json
OUTPUT¶
wayprompt outputs status in a simple format to stdout. The first line will be
user-action: <status>
where <status> is one of either ok, not-ok or cancel. Is --get-pin used, making wayprompt prompt for a secret, then a second line is outputted. This is either
pin: <secret>
in the case of the ok button being used or the Enter key being pressed, where <secret> is the entered secret. Or alternatively
no pin
in the case of either the not-ok or cancel button being used, the Escape key being pressed, or the secret being empty on confirmation.
AUTHOR¶
SEE ALSO¶
2023-06-03 | git.sr.ht/~leon_plickat/wayprompt |