From 0851515de0adca7ae51e6344af2391a2c1fd1585 Mon Sep 17 00:00:00 2001 From: Daniel Fainberg Date: Sun, 12 Jul 2026 16:22:59 +0200 Subject: [PATCH] fix(hyprland): exempt pinentry dialog from terminal swallowing --- modules/home.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/home.nix b/modules/home.nix index c5123ef..d49e1c7 100644 --- a/modules/home.nix +++ b/modules/home.nix @@ -516,6 +516,16 @@ in swallow_regex = "^(foot)$"; }; + # Stop the pinentry dialog from swallowing its parent terminal. Commit + # signing pops pinentry from gpg-agent (a daemon, not a foot child) so it + # already floats on top; but an ssh PIN prompt for `git push` is spawned + # via SSH_ASKPASS *inside* the foot shell, so swallow_regex matches and it + # hides the terminal until dismissed. noswallow exempts the dialog itself, + # leaving normal GUI swallowing (zathura/imv from mc) intact. + windowrule = [ + "match:class ^(org\\.gnupg\\.pinentry-qt)$ noswallow on" + ]; + input = { kb_layout = "de"; follow_mouse = 1;