signals: when using Google Meet, don't change opacity

This commit is contained in:
Vincent Bernat 2018-08-08 14:15:02 +02:00
parent c3f44fb0c3
commit 9704e2c1ec

View file

@ -84,7 +84,8 @@ client.add_signal("focus", function(c)
end)
client.add_signal("unfocus", function(c)
c.border_color = beautiful.border_normal
if not c.fullscreen then
if (not c.fullscreen and
not (c.class == "Chromium" and c.name:sub(1, #"Meet ") == "Meet ")) then
c.opacity = 0.85
end
end)