pinentry-dmenu/README

61 lines
1.4 KiB
Plaintext

pinentry-dmenu
==============
pinentry-dmenu is a pinentry program based on dmenu.
This program is a fork from https://gitgud.io/zavok/spine.git
which is also a fork from https://tools.suckless.org/dmenu.
Requirements
------------
In order to build dmenu you need the Xlib header files.
Installation
------------
Edit config.mk to match your local setup (dmenu is installed into
the /usr/local namespace by default).
Afterwards enter the following command to build and install dmenu
(if necessary as root):
make clean install
Running pinentry-dmenu
----------------------
See the man page for details.
Config
------
To use pinentry-dmenu add in `~/.gnupg/gpg-agent.conf`:
pinentry-program <absolut path to pinentry-dmenu>
The config is located in `~/.gnupg/pinentry-dmenu.conf`.
monitor = -1;
center_width = 1024;
embedded = false;
line_height = 22;
border_width = 2;
min_password_length = 32;
prompt_fg_alpha = 255;
prompt_bg_alpha = 255;
normal_fg_alpha = 255;
normal_bg_alpha = 230;
select_fg_alpha = 255;
select_bg_alpha = 255;
desc_fg_alpha = 255;
desc_bg_alpha = 255;
position = "center";
font = "DejaVuSansMono Nerd Font:pixelsize=16:antialias=true:autohint=true";
prompt = "";
asterisk = "*";
prompt_fg = "#cccccc";
prompt_bg = "#4185d7";
normal_fg = "#cccccc";
normal_bg = "#000000";
select_fg = "#ffffff";
select_bg = "#4185d7";
desc_fg = "#cccccc";
desc_bg = "#4185d7";