mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-15 12:44:21 +02:00
signals: add special rule for zoom
This commit is contained in:
parent
53bff663c3
commit
6adab7dda3
1 changed files with 2 additions and 1 deletions
|
@ -85,7 +85,8 @@ client.add_signal("focus", function(c)
|
||||||
client.add_signal("unfocus", function(c)
|
client.add_signal("unfocus", function(c)
|
||||||
c.border_color = beautiful.border_normal
|
c.border_color = beautiful.border_normal
|
||||||
if (not c.fullscreen and
|
if (not c.fullscreen and
|
||||||
not awful.rules.match_any(c, { name = { "Picture-in-Picture" } })) then
|
not awful.rules.match_any(c, { name = { "Picture-in-Picture" },
|
||||||
|
class = { "zoom" }})) then
|
||||||
c.opacity = 0.85
|
c.opacity = 0.85
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue