From 15c22fb05b01924e4a3b263cea0dee2e59000d4f Mon Sep 17 00:00:00 2001 From: mgbaron Date: Sat, 6 Sep 2025 08:12:17 -0600 Subject: [PATCH] Match youtube subdomains in opacity windowrule Ensures that any browser apps opening youtube or its subdomains (e.g. tv.youtube.com) have no transparency. --- default/hypr/apps/browser.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default/hypr/apps/browser.conf b/default/hypr/apps/browser.conf index c24f284..4ef57e9 100644 --- a/default/hypr/apps/browser.conf +++ b/default/hypr/apps/browser.conf @@ -10,4 +10,4 @@ windowrule = opacity 1 0.97, tag:chromium-based-browser windowrule = opacity 1 0.97, tag:firefox-based-browser # Some video sites should never have opacity applied to them -windowrule = opacity 1.0 1.0, initialTitle:(youtube\.com_/|app\.zoom\.us_/wc/home) +windowrule = opacity 1.0 1.0, initialTitle:((?i)(?:[a-z0-9-]+\.)*youtube\.com_/|app\.zoom\.us_/wc/home)