From ad3c6969ad8b1140c8024d6fab0b0e0c360e71f8 Mon Sep 17 00:00:00 2001 From: Aram Markarov Date: Mon, 23 Feb 2026 15:44:33 +0100 Subject: [PATCH] 52.1 -> 53.0 --- modules/windowrules.conf | 57 +++++++++++++++++++++++++++++++--------- 1 file changed, 45 insertions(+), 12 deletions(-) diff --git a/modules/windowrules.conf b/modules/windowrules.conf index f17553b..787b391 100644 --- a/modules/windowrules.conf +++ b/modules/windowrules.conf @@ -1,15 +1,48 @@ -windowrule = opacity 0.0 override, class:^(xwaylandvideobridge)$ -windowrule = noanim, class:^(xwaylandvideobridge)$ -windowrule = noinitialfocus, class:^(xwaylandvideobridge)$ -windowrule = maxsize 1 1, class:^(xwaylandvideobridge)$ -windowrule = noblur, class:^(xwaylandvideobridge)$ -windowrule = nofocus, class:^(xwaylandvideobridge)$ +windowrule { + name = windowrule-1 + opacity = 0.0 override + no_anim = on + no_initial_focus = on + max_size = 1 1 + no_blur = on + no_focus = on + match:class = ^(xwaylandvideobridge)$ +} -windowrule = noblur, class:^(org.gnome.Nautilus)$ -windowrulev2 = idleinhibit fullscreen, class:.* -windowrule = idleinhibit always, content:video -windowrule = idleinhibit always, content:game -windowrule = idleinhibit always, fullscreenstate:client 2 -windowrule = idleinhibit always, fullscreenstate:internal 2 + windowrule { +name = windowrule-2 +no_blur = on +match:class = ^(org.gnome.Nautilus)$ +} +windowrule { + name = windowrule-3 + idle_inhibit = fullscreen + match:class = .* +} +windowrule { + name = windowrule-4 + idle_inhibit = always + match:content = video +} + +windowrule { + name = windowrule-5 + idle_inhibit = always + match:content = game +} + +windowrule { + name = windowrule-6 + idle_inhibit = always + match:fullscreen_state_internal = client + match:fullscreen_state_client = 2 +} + +windowrule { + name = windowrule-7 + idle_inhibit = always + match:fullscreen_state_internal = internal + match:fullscreen_state_client = 2 +}