Giter VIP home page Giter VIP logo

pinentry-dmenu's Introduction

pinentry-dmenu

pinentry-dmenu is a pinentry program with the charm of dmenu.

This program is a fork from spine which is also a fork from 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 <absolute 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
bottom 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

Example

asterisk= "# ";
prompt = "$";
font = "Noto Sans UI:size=13";
prompt_fg = "#eeeeee";
prompt_bg = "#d9904a";
normal_fg = "#ffffff";
normal_bg = "#000000";
select_fg = "#eeeeee";
select_bg = "#d9904a";
desc_fg = "#eeeeee";
desc_bg = "#d9904a";

pinentry-dmenu's People

Contributors

ftrvxmtrx avatar maximbaz avatar ritze avatar zavok avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.