Skip to content

make youtube and zoom webapps opaque on any browser and profile#6092

Open
Zeus-Deus wants to merge 2 commits into
basecamp:masterfrom
Zeus-Deus:youtube_opacity_any_browser
Open

make youtube and zoom webapps opaque on any browser and profile#6092
Zeus-Deus wants to merge 2 commits into
basecamp:masterfrom
Zeus-Deus:youtube_opacity_any_browser

Conversation

@Zeus-Deus

Copy link
Copy Markdown

the video opacity opt out in browser.conf only matches chrome on the default profile, so brave, chromium, edge and anyone on a non default profile still get the default 0.97/0.9 transparency on their youtube and zoom webapp windows. annoying when watching video.

this widens the class match to any browser prefix and any profile. same mechanism and same two tags as before, just a broader regex.

tested live on brave (class brave-youtube.com__-Profile_2): the default-opacity tag now gets removed and the window stays fully opaque. a normal browser tab on youtube keeps its plain browser class, so regular browsing is unaffected.

the opacity opt out only matched chrome on the default profile so brave
and other profiles still got transparent video windows. widen the class
match to cover any browser prefix and any profile.
Copilot AI review requested due to automatic review settings June 14, 2026 08:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates Hyprland browser window rules to more broadly match YouTube/Zoom “app” windows and remove opacity-related tags for them.

Changes:

  • Generalized the match regex for YouTube/Zoom app windows from exact class names to wildcard patterns.
  • Updated both -chromium-based-browser and -default-opacity tag removal rules to use the new patterns.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread default/hypr/apps/browser.conf Outdated
Comment on lines +8 to +9
windowrule = tag -chromium-based-browser, match:class (.*-youtube.com__.*|.*-app.zoom.us__wc_home.*)
windowrule = tag -default-opacity, match:class (.*-youtube.com__.*|.*-app.zoom.us__wc_home.*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants