aboutsummaryrefslogtreecommitdiff
path: root/hypr/hyprland.conf
diff options
context:
space:
mode:
authorGibheer <gibheer+git@zero-knowledge.org>2025-12-30 21:07:30 +0100
committerGibheer <gibheer+git@zero-knowledge.org>2025-12-30 21:07:30 +0100
commite691b63ef984ba39fb45be56f98f27158a8d2654 (patch)
tree093fd8c543573a7bc97b37459dd70c31e0d3a816 /hypr/hyprland.conf
parent86b9b64c8528b3eda1486b62feeae4ac6f783776 (diff)
Add new windowrule syntax with 0.53 update
Diffstat (limited to 'hypr/hyprland.conf')
-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
+}
+