From 87da28a9650cec26ac0a9a6d7b8297d23ddaafc6 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 1 Feb 2026 17:39:26 +0100 Subject: [PATCH] Fix the video PWAs --- default/hypr/apps/browser.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/default/hypr/apps/browser.conf b/default/hypr/apps/browser.conf index f7dca154..7f30ba38 100644 --- a/default/hypr/apps/browser.conf +++ b/default/hypr/apps/browser.conf @@ -4,12 +4,13 @@ windowrule = tag +firefox-based-browser, match:class ([fF]irefox|zen|librewolf) windowrule = tag -default-opacity, match:tag chromium-based-browser windowrule = tag -default-opacity, match:tag firefox-based-browser +# Video apps: remove chromium browser tag so they don't get opacity applied +windowrule = tag -chromium-based-browser, match:class (chrome-youtube.com__-Default|chrome-app.zoom.us__wc_home-Default) +windowrule = tag -default-opacity, match:class (chrome-youtube.com__-Default|chrome-app.zoom.us__wc_home-Default) + # Force chromium-based browsers into a tile to deal with --app bug windowrule = tile on, match:tag chromium-based-browser # Only a subtle opacity change, but not for video sites windowrule = opacity 1.0 0.97, match:tag chromium-based-browser windowrule = opacity 1.0 0.97, match:tag firefox-based-browser - -# Some video sites should never have opacity applied to them -windowrule = opacity 1.0 1.0, match:initial_title ((?i)(?:[a-z0-9-]+\.)*youtube\.com_/|app\.zoom\.us_/wc/home)