summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed AbdelHalim <[email protected]>2026-01-17 18:02:12 +0100
committerAhmed AbdelHalim <[email protected]>2026-01-19 10:31:02 +0100
commita9e87992cb4cec66d76ddf3ea85469a6aa3650a6 (patch)
tree0026cb643212f4101a5128d8f845a982e404feb7
parent8d2ef7eace03fa1a2ab0158b70442a82ae262d8e (diff)
Make the pinentry windows stay focused
-rw-r--r--roles/hyprland/templates/hyprland/rules.conf.j23
1 files changed, 3 insertions, 0 deletions
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