Pinentry application using dmenu
Go to file
mrdotx 69d369f6a2
indentation changed from tabs to spaces
2021-07-31 10:53:44 +02:00
pinentry initial upload 2021-07-26 13:20:50 +02:00
.gitignore initial upload 2021-07-26 13:20:50 +02:00
LICENSE initial upload 2021-07-26 13:20:50 +02:00
Makefile initial upload 2021-07-26 13:20:50 +02:00
README indentation changed from tabs to spaces 2021-07-31 10:53:44 +02:00
config.def.h indentation changed from tabs to spaces 2021-07-31 10:53:44 +02:00
config.mk version changed to 0.1.5 2021-07-30 14:47:48 +02:00
drw.c indentation changed from tabs to spaces 2021-07-31 10:53:44 +02:00
drw.h indentation changed from tabs to spaces 2021-07-31 10:53:44 +02:00
pinentry-dmenu.1 configuration optimized for menu position and some minor fixes 2021-07-30 20:24:59 +02:00
pinentry-dmenu.c indentation changed from tabs to spaces 2021-07-31 10:53:44 +02:00
test.sh indentation changed from tabs to spaces 2021-07-31 10:53:44 +02:00
util.c indentation changed from tabs to spaces 2021-07-31 10:53:44 +02:00
util.h initial upload 2021-07-26 13:20:50 +02:00

README

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 = 230;
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 = "#000000";