aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hypr/hyprland.conf19
1 files changed, 17 insertions, 2 deletions
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
index 6491423..fb65a12 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -239,7 +239,22 @@ bindl = , XF86AudioPrev, exec, playerctl previous
# windowrule = float,class:^(kitty)$,title:^(kitty)$
# Ignore maximize requests from apps. You'll probably like this.
-windowrule = suppressevent maximize, class:.*
+windowrule {
+ name = windowrule-1
+ suppress_event = maximize
+ match:class = .*
+}
+
# Fix some dragging issues with XWayland
-windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
+windowrule {
+ name = windowrule-2
+ no_focus = on
+ match:class = ^$
+ match:title = ^$
+ match:xwayland = 1
+ match:float = 1
+ match:fullscreen = 0
+ match:pin = 0
+}
+