Ports #6092 from master: the video-app opacity opt-out only matched Chrome/Chromium on the default profile, so Brave, Edge, and non-default profiles kept the translucent default-opacity styling. Co-Authored-By: Zeus-Deus <github.commits@widow.cc> Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
13 lines
847 B
Lua
13 lines
847 B
Lua
-- Browser tags and styling.
|
|
o.window("((google-)?[cC]hrom(e|ium)|[bB]rave-browser|[mM]icrosoft-edge|Vivaldi-stable|helium)", { tag = "+chromium-based-browser" })
|
|
o.window("([fF]irefox|zen|librewolf)", { tag = "+firefox-based-browser" })
|
|
o.window({ tag = "chromium-based-browser" }, { tag = "-default-opacity", tile = true, opacity = "1.0 0.97" })
|
|
o.window({ tag = "firefox-based-browser" }, { tag = "-default-opacity", opacity = "1.0 0.97" })
|
|
|
|
-- Video apps: remove chromium browser tag so they don't get opacity applied.
|
|
o.window("(^.+-youtube\\.com__.*$|^.+-app\\.zoom\\.us__wc_home.*$)", { tag = "-chromium-based-browser" })
|
|
o.window("(^.+-youtube\\.com__.*$|^.+-app\\.zoom\\.us__wc_home.*$)", { tag = "-default-opacity" })
|
|
|
|
-- Hide screen sharing notification windows.
|
|
o.window({ title = ".*is sharing.*" }, { workspace = "special silent" })
|