From 681dd4cd04f7ca28d004f60c336e4ccc74f11b03 Mon Sep 17 00:00:00 2001 From: Florestan Bredow Date: Tue, 6 Jan 2026 19:10:16 +0100 Subject: [PATCH] Hyprland : Update config to v0.53.0 --- .config/hypr/hyprland.conf | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index e5a46d1..57e3dab 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -52,7 +52,6 @@ exec-once = nextcloud --background exec-once = keepassxc exec-once = sleep 2 && hyprpm reload - ############################# ### ENVIRONMENT VARIABLES ### ############################# @@ -388,11 +387,35 @@ submap=reset # See https://wiki.hypr.land/Configuring/Window-Rules/ for more # See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules -# Example windowrule -# windowrule = float,class:^(kitty)$,title:^(kitty)$ +# Example windowrules that are useful -# Ignore maximize requests from apps. You'll probably like this. -windowrule = suppressevent maximize, class:.* +windowrule { + # Ignore maximize requests from all apps. You'll probably like this. + name = suppress-maximize-events + match:class = .* -# Fix some dragging issues with XWayland -windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 + suppress_event = maximize +} + +windowrule { + # Fix some dragging issues with XWayland + name = fix-xwayland-drags + match:class = ^$ + match:title = ^$ + match:xwayland = true + match:float = true + match:fullscreen = false + match:pin = false + + no_focus = true +} + +# Hyprland-run windowrule +windowrule { + name = move-hyprland-run + + match:class = hyprland-run + + move = 20 monitor_h-120 + float = yes +}