aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/hypr/configs/SystemSettings.conf4
-rw-r--r--config/hypr/configs/WindowRules-config-v3.conf3
2 files changed, 7 insertions, 0 deletions
diff --git a/config/hypr/configs/SystemSettings.conf b/config/hypr/configs/SystemSettings.conf
index 44521156..af8fe7a6 100644
--- a/config/hypr/configs/SystemSettings.conf
+++ b/config/hypr/configs/SystemSettings.conf
@@ -93,6 +93,10 @@ misc {
enable_anr_dialog = true # Application not Responding (ANR)
anr_missed_pings = 15 # ANR Threshold default 1 is too low
allow_session_lock_restore = true # Prevent lockscreen crash when resume from suspend
+ on_focus_under_fullscreen = 1
+ # 0 - Default, no change
+ # 1 - New focused window takes over fullscreen (Windows-like Alt-Tab)
+ # 2 - New focused window stays behind the fullscreen one
}
#opengl {
diff --git a/config/hypr/configs/WindowRules-config-v3.conf b/config/hypr/configs/WindowRules-config-v3.conf
index 8f639c5d..d9d180d2 100644
--- a/config/hypr/configs/WindowRules-config-v3.conf
+++ b/config/hypr/configs/WindowRules-config-v3.conf
@@ -139,6 +139,9 @@ windowrule = match:class ^([Qq]alculate-gtk)$, float on
windowrule = match:class ^([Ff]erdium)$, float on
windowrule = match:title ^(Picture-in-Picture)$, float on
+# Float and center dialog boxes by default
+windowrule = float on, center on, match:modal:1
+
# windowrule - ######### float popups and dialogue #######
windowrule = match:title ^(Authentication Required)$, float on, center on
windowrule = match:class (codium|codium-url-handler|VSCodium) match:title negative:(.*codium.*|.*VSCodium.*), float on
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage