-
Notifications
You must be signed in to change notification settings - Fork 1
/
pinentry-dmenu.1
328 lines (328 loc) · 5.98 KB
/
pinentry-dmenu.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
.TH "PINENTRY\-DMENU" "1" "" "Version\-VERSION" "pinentry\-dmenu Manual"
.SH NAME
pinentry\-dmenu \- a pinentry program based on dmenu
.SH SYNOPSIS
Set the \f[B]pinentry\-program\f[R] in
\f[I]\[ti]/.gnupg/gpg\-agent.conf\f[R] to \f[B]pinentry\-dmenu\f[R] to
use the program as the regular dialog for \f[B]gpg\-agent\f[R].
.PP
The configuration is placed in
\f[I]\[ti]/.gnupg/pinentry\-dmenu.conf\f[R].
You can change the path to the config file with the environment variable
\f[I]GNUPGHOME\f[R].
.SH DESCRIPTION
\f[B]pinentry\-dmenu\f[R] is a dmenu\- and pinentry\-based passphrase
dialog called from the \f[B]gpg\-agent\f[R](1) daemon.
It is not intended to be invoked directly.
.SH OPTIONS
.TP
\f[B]monitor\f[R] = \f[I]\-1\f[R]
pinentry\-dmenu is displayed on the monitor number supplied.
Monitor numbers are starting from 0.
Value \-1 for focused monitor.
.TP
\f[B]center_width\f[R] = \f[I]1024\f[R]
Defines the width for the `center' menu.
Value \-1 for full width.
.TP
\f[B]embedded\f[R] = \f[I]false\f[R]
Embed into window.
.TP
\f[B]line_height\f[R] = \f[I]25\f[R]
Defines menu line of at least `line_height' pixels tall.
.TP
\f[B]border_width\f[R] = \f[I]1\f[R]
Defines the border width for the menu.
.TP
\f[B]min_password_length\f[R] = \f[I]32\f[R]
The minimal space of the password field.
This value has affect to the description field after the password field.
.TP
\f[B]prompt_fg_alpha\f[R] = \f[I]255\f[R]
Defines the prompt foreground alpha value.
Values between \f[I]0\f[R] (transparent) and \f[I]255\f[R] (opaque) are
supported.
.TP
\f[B]prompt_bg_alpha\f[R] = \f[I]255\f[R]
Defines the prompt background alpha value.
.TP
\f[B]normal_fg_alpha\f[R] = \f[I]255\f[R]
Defines the normal foreground alpha value.
.TP
\f[B]normal_bg_alpha\f[R] = \f[I]230\f[R]
Defines the normal background alpha value.
.TP
\f[B]select_fg_alpha\f[R] = \f[I]255\f[R]
Defines the selected foreground alpha value.
.TP
\f[B]select_bg_alpha\f[R] = \f[I]255\f[R]
Defines the selected background alpha value.
.TP
\f[B]desc_fg_alpha\f[R] = \f[I]255\f[R]
Defines the description foreground alpha value.
.TP
\f[B]desc_bg_alpha\f[R] = \f[I]255\f[R]
Defines the description background alpha value.
.TP
\f[B]position\f[R] = \f[I]\[lq]center\[rq]\f[R]
Defines the position of the menu.
\f[I]bottom\f[R], \f[I]center\f[R] and \f[I]top\f[R] are supported.
.TP
\f[B]font\f[R] = \f[I]\[lq]DejaVuSansM Nerd Font:pixelsize=16\[rq]\f[R]
Defines the font or font set used.
.TP
\f[B]prompt\f[R] = \f[I]\[lq]\[lq]\f[R]
Defines the prompt to be displayed to the left of the input field.
.TP
\f[B]asterisk\f[R] = \f[I]\[lq]*\[rq]\f[R]
Defines the symbol which is showed for each typed character.
.TP
\f[B]prompt_fg\f[R] = \f[I]\[lq]#cccccc\[rq]\f[R]
Defines the prompt foreground color.
\f[I]#RGB\f[R], \f[I]#RRGGBB\f[R] and X color names are supported.
.TP
\f[B]prompt_bg\f[R] = \f[I]\[lq]#4185d7\[rq]\f[R]
Defines the prompt background color.
.TP
\f[B]normal_fg\f[R] = \f[I]\[lq]#cccccc\[rq]\f[R]
Defines the normal foreground color.
.TP
\f[B]normal_bg\f[R] = \f[I]\[lq]#000000\[rq]\f[R]
Defines the normal background color.
.TP
\f[B]select_fg\f[R] = \f[I]\[lq]#ffffff\[rq]\f[R]
Defines the selected foreground color.
.TP
\f[B]select_bg\f[R] = \f[I]\[lq]#4185d7\[rq]\f[R]
Defines the selected background color.
.TP
\f[B]desc_fg\f[R] = \f[I]\[lq]#cccccc\[rq]\f[R]
Defines the description foreground color.
.TP
\f[B]desc_bg\f[R] = \f[I]\[lq]#4185d7\[rq]\f[R]
Defines the description background color.
.SH USAGE
\f[B]pinentry\-dmenu\f[R] is completely controlled by the keyboard.
.TP
\f[B]Return\f[R]
Confirm input
.TP
\f[B]Ctrl\-Return\f[R]
Confirm input
.TP
\f[B]Shift\-Return\f[R]
Confirm input
.TP
\f[B]Escape\f[R]
Cancel input
.TP
\f[B]C\-c\f[R]
Escape
.PP
\f[B]\f[BI]Confirm Mode\f[B]\f[R]
.TP
\f[B]Down\f[R]
Right
.TP
\f[B]End\f[R]
Right
.TP
\f[B]Home\f[R]
Left
.TP
\f[B]Next\f[R]
Right
.TP
\f[B]Prior\f[R]
Left
.TP
\f[B]Up\f[R]
Left
.TP
\f[B]g\f[R]
Cancel input
.TP
\f[B]G\f[R]
Cancel input
.TP
\f[B]h\f[R]
Left
.TP
\f[B]j\f[R]
Left
.TP
\f[B]k\f[R]
Right
.TP
\f[B]l\f[R]
Right
.TP
\f[B]n\f[R]
Confirm with no
.TP
\f[B]N\f[R]
Confirm with no
.TP
\f[B]y\f[R]
Confirm with yes
.TP
\f[B]Y\f[R]
Confirm with yes
.PP
\f[B]\f[BI]Pin Mode\f[B]\f[R]
.TP
\f[B]End\f[R]
Move cursor to the line end
.TP
\f[B]Home\f[R]
Move cursor to the line begin
.TP
\f[B]C\-a\f[R]
Home
.TP
\f[B]C\-b\f[R]
Left
.TP
\f[B]C\-d\f[R]
Delete
.TP
\f[B]C\-e\f[R]
End
.TP
\f[B]C\-f\f[R]
Right
.TP
\f[B]C\-g\f[R]
Escape
.TP
\f[B]C\-h\f[R]
Backspace
.TP
\f[B]C\-k\f[R]
Delete line right
.TP
\f[B]C\-u\f[R]
Delete line left
.TP
\f[B]C\-v\f[R]
Paste from primary X selection
.SH EXAMPLES
.PP
monitor = \-1;
.PD 0
.P
.PD
center_width = 1024;
.PD 0
.P
.PD
embedded = false;
.PD 0
.P
.PD
line_height = 25;
.PD 0
.P
.PD
border_width = 1;
.PD 0
.P
.PD
min_password_length = 32;
.PD 0
.P
.PD
prompt_fg_alpha = 255;
.PD 0
.P
.PD
prompt_bg_alpha = 255;
.PD 0
.P
.PD
normal_fg_alpha = 255;
.PD 0
.P
.PD
normal_bg_alpha = 230;
.PD 0
.P
.PD
select_fg_alpha = 255;
.PD 0
.P
.PD
select_bg_alpha = 255;
.PD 0
.P
.PD
desc_fg_alpha = 255;
.PD 0
.P
.PD
desc_bg_alpha = 255;
.PD 0
.P
.PD
position = \[lq]center\[rq];
.PD 0
.P
.PD
font = \[lq]DejaVuSansM Nerd Font:pixelsize=16\[rq];
.PD 0
.P
.PD
prompt = \[lq]\[lq];
.PD 0
.P
.PD
asterisk = \[lq]*\[rq];
.PD 0
.P
.PD
prompt_fg = \[lq]#cccccc\[rq];
.PD 0
.P
.PD
prompt_bg = \[lq]#4185d7\[rq];
.PD 0
.P
.PD
normal_fg = \[lq]#cccccc\[rq];
.PD 0
.P
.PD
normal_bg = \[lq]#000000\[rq];
.PD 0
.P
.PD
select_fg = \[lq]#ffffff\[rq];
.PD 0
.P
.PD
select_bg = \[lq]#4185d7\[rq];
.PD 0
.P
.PD
desc_fg = \[lq]#cccccc\[rq];
.PD 0
.P
.PD
desc_bg = \[lq]#4185d7\[rq];
.SH BUGS
See GitHub Issues:
\f[I]https://github.com/mrdotx/pinentry\-dmenu/issues\f[R]
.SH AUTHORS
.PP
\f[B]pinentry\-dmenu\f[R] is a fork of \f[B]dmenu\f[R]
<\f[I]https://tools.suckless.org/dmenu\f[R]> and uses the api of
\f[B]pinentry\f[R], a GnuPG tool.
.PD 0
.P
.PD
\f[B]pinentry\-dmenu\f[R] was written by mrdotx
<\f[I]klassiker\[at]gmx.de\f[R]>
.SH SEE ALSO
\f[B]dmenu\f[R](1), \f[B]dwm\f[R](1), \f[B]gpg\-agent\f[R](1)
.SH LICENSE
See the \f[I]LICENSE.md\f[R] file for the terms of redistribution.