From d2dd84c71283a77b7fe691850dc314b3096b3f63 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sat, 17 Jan 2026 18:02:12 +0100 Subject: Make the pinentry windows stay focused --- roles/hyprland/templates/hyprland/rules.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/hyprland/templates/hyprland/rules.conf.j2 b/roles/hyprland/templates/hyprland/rules.conf.j2 index 35a8dd25..f0c09209 100644 --- a/roles/hyprland/templates/hyprland/rules.conf.j2 +++ b/roles/hyprland/templates/hyprland/rules.conf.j2 @@ -26,3 +26,6 @@ windowrule = tag +chromium-based-browser, match:class ((google-)?[cC]hrom(e|ium) windowrule = tag +firefox-based-browser, match:class ([fF]irefox|zen|librewolf) windowrule = opacity 1.0 override 0.97 override, match:tag chromium-based-browser windowrule = opacity 1.0 override 0.97 override, match:tag firefox-based-browser + +# Pinentry windows +windowrule = match:class (pinentry-)(.*), stay_focused on -- cgit v1.2.3