No description
Find a file
2024-01-06 09:49:35 +01:00
.meta update README 2024-01-06 02:13:05 +01:00
deps port to zig 0.11.0 2024-01-04 06:57:30 +01:00
doc separate colour configuration for all button borders and texts 2024-01-05 02:41:28 +01:00
protocol do all the things 2022-09-17 08:42:52 +02:00
src correctly declare log functions and fix potential formatstring injection 2024-01-06 09:49:35 +01:00
.gitignore add colour configuration 2022-09-23 00:40:49 +02:00
.gitmodules add TTY fallback 2022-10-18 19:24:51 +02:00
build.zig support cursor-shape-v1 2024-01-05 03:34:38 +01:00
LICENSE do all the things 2022-09-17 08:42:52 +02:00
README.md update README 2024-01-06 02:13:05 +01:00

wayprompt

wayprompt

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.

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, read wayprompt.5 for details.

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.

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.

License

wayprompt is licensed under the GPLv3.