diff options
author | Moritz Luedecke <ritze@skweez.net> | 2017-09-19 18:34:49 +0200 |
---|---|---|
committer | Moritz Luedecke <ritze@skweez.net> | 2017-09-19 18:34:49 +0200 |
commit | c3077abf4ea915f28084bccd0dcf16289dca758d (patch) | |
tree | a5cf762c69813f2050122b4f5180de1e27ae9aad | |
parent | 9e8572af7eb9640a8bb690adf9ca2ecfa6992644 (diff) |
Fill README with details
-rw-r--r-- | README | 45 |
1 files changed, 44 insertions, 1 deletions
@@ -1,5 +1,48 @@ pinentry-dmenu ============== -This program is a fork from [spine](https://gitgud.io/zavok/spine.git). +pinentry-dmenu is a pinentry program with the charm of [dmenu](https://tools.suckless.org/dmenu). + +This program is a fork from [spine](https://gitgud.io/zavok/spine.git) which is also a fork from [dmenu](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 + + +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`. + +^ Parameter ^ Default ^ Description ^ +| asterisk | * | Defines the symbol which is showed for each typed character | +| buttom | false | pinentry-dmenu appears at the bottom of the screen | +| min_password_length | 32 | The minimal space of the password field. This value has affect to the description field after the password field | +| monitor | -1 | pinentry-dmenu is displayed on the monitor number supplied. Monitor numbers are starting from 0 | +| prompt | "" | Defines the prompt to be displayed to the left of the input field | +| font | monospace:size=10 | Defines the font or font set used | +| prompt_bg | #bbbbbb | Defines the prompt background color | +| prompt_fg | #222222 | Defines the prompt foreground color | +| normal_bg | #bbbbbb | Defines the normal background color | +| normal_fg | #222222 | Defines the normal foreground color | +| select_bg | #eeeeee | Defines the selected background color| +| select_fg | #005577 | Defines the selected foreground color | +| desc_bg | #bbbbbb | Defines the description background color | +| desc_fg | #222222 | Defines the description foreground color | +| embedded | false | Embed into window | |