From e691b63ef984ba39fb45be56f98f27158a8d2654 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Tue, 30 Dec 2025 21:07:30 +0100 Subject: Add new windowrule syntax with 0.53 update --- hypr/hyprland.conf | 19 +++++++++++++++++-- 1 file 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 +} + -- cgit v1.2.3-70-g09d2