update README

This commit is contained in:
Leon Henrik Plickat 2024-01-06 02:12:24 +01:00
parent 5e92517b6a
commit f215e3514f
2 changed files with 38 additions and 6 deletions

BIN
.meta/wayprompt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

View file

@ -1,17 +1,49 @@
# wayprompt
A multi-purpose (password-)prompt tool for Wayland.
![wayprompt](.meta/wayprompt.png)
Wayprompt is a multi-purpose (password-)prompt tool for Wayland.
Also has a TUI fallback mode for when no wayland connection can be established,
like when invoked while using a TTY.
Installs multiple executables:
Requires the compositor to support the layershell.
Wayprompt ships multiple executables:
* `wayprompt`: CLI prompt tool.
* `pinentry-wayprompt`: drop-in pinentry replacement, for example for gpg.
All executables use the same configuration file.
All executables use the same configuration file, read `wayprompt.5` for details.
Requires the compositor to support the layershell.
Depends on lib-wayland, xkbcommon and pixman.
Developed against zig version 10.1.
To use `pinentry-wayprompt` with gpg, you need to configure gpg-agent (read
`gpg-agent.1`).
Its configuration file is commonly found at `~/.gnupg/gpg-agent.conf`.
Inside this file, add the following line (actual path to executable will depend
on installation method):
```
pinentry-program ~/.local/bin/pinentry-wayprompt
```
## Building
Wayprompt is developed against zig version 0.11.0 and depends on lib-wayland,
xkbcommon and pixman.
```sh
git clone https://git.sr.ht/~leon_plickat/wayprompt
cd wayprompt
git submodule update --init
zig build -Doptimize=ReleaseSafe --prefix ~/.local/ install
```
## Bug Reports & Contributions
Please send all bug reports and patches to
[~leon_plickat/public-inbox@lists.sr.ht](mailto:~leon_plickat/public-inbox@lists.sr.ht).
## License
wayprompt is licensed under the GPLv3.