summaryrefslogtreecommitdiff
path: root/dotfiles/dwm/.gnupg/gpg-agent.conf
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-26 18:54:27 -0600
committerCraig Jennings <c@cjennings.net>2026-01-26 18:54:27 -0600
commit1564a3f38f7323a175183116401582964f7adf6c (patch)
treefbc2a5246acbab4cd9bbbafb15462e34a18a563f /dotfiles/dwm/.gnupg/gpg-agent.conf
parentc20cda7d5c9007aa0d2416d27d00d2b9725668fd (diff)
fix: move X11-specific configs from common to dwm
Move files that are specific to DWM/X11 setups: - gpg-agent.conf (uses pinentry-dmenu) - pinentry-dmenu.conf - Desktop files using X11 tools (st, slock, sxiv, etc.) These conflict with hyprland equivalents and should only be stowed on DWM systems. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'dotfiles/dwm/.gnupg/gpg-agent.conf')
-rw-r--r--dotfiles/dwm/.gnupg/gpg-agent.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/dotfiles/dwm/.gnupg/gpg-agent.conf b/dotfiles/dwm/.gnupg/gpg-agent.conf
new file mode 100644
index 0000000..6448665
--- /dev/null
+++ b/dotfiles/dwm/.gnupg/gpg-agent.conf
@@ -0,0 +1,18 @@
+# Pinentry configuration
+pinentry-program /usr/bin/pinentry-dmenu
+pinentry-timeout 10
+allow-loopback-pinentry
+
+# Cache passphrases for entire login session (400 days)
+default-cache-ttl 34560000
+max-cache-ttl 34560000
+
+# Enable SSH support (use gpg-agent for SSH keys too)
+enable-ssh-support
+
+# Prevent external programs from clearing cache
+no-allow-external-cache
+
+# Keep running even when no connections
+keep-display
+keep-tty