make youtube and zoom webapps opaque on any browser and profile#6092
Open
Zeus-Deus wants to merge 2 commits into
Open
make youtube and zoom webapps opaque on any browser and profile#6092Zeus-Deus wants to merge 2 commits into
Zeus-Deus wants to merge 2 commits into
Conversation
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.
Contributor
There was a problem hiding this comment.
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-browserand-default-opacitytag removal rules to use the new patterns.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.*) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.