Commit: ef4637c99d6467c54ba92006f33cf25aeff194a0
Parent: 32a882a915f566588deaa5b599aa1e0f9bf7a449
Author: Randy Palamar
Date: Sat, 5 Nov 2022 20:45:14 -0600
replace pinentry-gtk with pinentry-dmenu
Diffstat:
4 files changed, 30 insertions(+), 3 deletions(-)
diff --git a/.config/sys/etc/portage/package.use/app b/.config/sys/etc/portage/package.use/app
@@ -1,7 +1,5 @@
-app-crypt/gcr gtk
app-crypt/gnupg -ssl
app-crypt/mit-krb5 -keyutils -pkinit
-app-crypt/pinentry gtk
app-dicts/myspell-en l10n_en
app-emulation/qemu -curl -doc -gtk -pin-upstream-blobs -usb -vnc
app-i18n/ibus gtk3
diff --git a/.config/sys/etc/portage/savedconfig/app-crypt/pinentry-dmenu-9999 b/.config/sys/etc/portage/savedconfig/app-crypt/pinentry-dmenu-9999
@@ -0,0 +1,28 @@
+/* See LICENSE file for copyright and license details. */
+
+/* minimum length to use for displaying the pw field */
+static int minpwlen = 16;
+
+/* character to be used as a replacement for typed characters */
+static const char *asterisk = "*";
+
+/* if 0, pinentry-dmenu appears at bottom */
+static int topbar = 1;
+
+/* adjusts the bars vertical padding */
+static const unsigned int padbar = 8;
+
+/* default X11 font or font set */
+static const char *fonts[] = {
+ "Go Mono:style=bold:size=14",
+ "あんずもじ:style=Regular:size=18",
+};
+
+static const char *prompt = NULL; /* -p option; prompt to the left of input field */
+static const char *colors[SchemeLast][4] = {
+ /* fg bg */
+ [SchemePrompt] = { "#a274f2", "#090909" },
+ [SchemeNormal] = { "#666666", "#090909" },
+ [SchemeSelect] = { "#666666", "#090909" },
+ [SchemeDesc] = { "#666666", "#090909" }
+};
diff --git a/.config/sys/var/lib/portage/world b/.config/sys/var/lib/portage/world
@@ -1,5 +1,6 @@
app-admin/doas
app-admin/spm
+app-crypt/pinentry-dmenu
app-dicts/kasumi
app-dicts/qolibri
app-editors/hyx
diff --git a/.local/share/gnupg/gpg-agent.conf b/.local/share/gnupg/gpg-agent.conf
@@ -1,4 +1,4 @@
default-cache-ttl 14400
max-cache-ttl 36000
no-allow-external-cache
-pinentry-program /usr/bin/pinentry-gnome3
+pinentry-program /usr/l/bin/pinentry-dmenu