mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-23 03:32:30 +00:00
#39 fix
This commit is contained in:
parent
91f4d5553f
commit
aae577c50f
|
@ -613,10 +613,8 @@ end)
|
||||||
client.connect_signal("focus",
|
client.connect_signal("focus",
|
||||||
function(c)
|
function(c)
|
||||||
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
||||||
c.border_width = 0
|
|
||||||
c.border_color = beautiful.border_normal
|
c.border_color = beautiful.border_normal
|
||||||
else
|
else
|
||||||
c.border_width = beautiful.border_width
|
|
||||||
c.border_color = beautiful.border_focus
|
c.border_color = beautiful.border_focus
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
|
@ -706,10 +706,8 @@ end)
|
||||||
client.connect_signal("focus",
|
client.connect_signal("focus",
|
||||||
function(c)
|
function(c)
|
||||||
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
||||||
c.border_width = 0
|
|
||||||
c.border_color = beautiful.border_normal
|
c.border_color = beautiful.border_normal
|
||||||
else
|
else
|
||||||
c.border_width = beautiful.border_width
|
|
||||||
c.border_color = beautiful.border_focus
|
c.border_color = beautiful.border_focus
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
|
@ -642,10 +642,8 @@ end)
|
||||||
client.connect_signal("focus",
|
client.connect_signal("focus",
|
||||||
function(c)
|
function(c)
|
||||||
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
||||||
c.border_width = 0
|
|
||||||
c.border_color = beautiful.border_normal
|
c.border_color = beautiful.border_normal
|
||||||
else
|
else
|
||||||
c.border_width = beautiful.border_width
|
|
||||||
c.border_color = beautiful.border_focus
|
c.border_color = beautiful.border_focus
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
|
@ -748,10 +748,8 @@ end)
|
||||||
client.connect_signal("focus",
|
client.connect_signal("focus",
|
||||||
function(c)
|
function(c)
|
||||||
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
||||||
c.border_width = 0
|
|
||||||
c.border_color = beautiful.border_normal
|
c.border_color = beautiful.border_normal
|
||||||
else
|
else
|
||||||
c.border_width = beautiful.border_width
|
|
||||||
c.border_color = beautiful.border_focus
|
c.border_color = beautiful.border_focus
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
|
@ -676,10 +676,8 @@ end)
|
||||||
client.connect_signal("focus",
|
client.connect_signal("focus",
|
||||||
function(c)
|
function(c)
|
||||||
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
||||||
c.border_width = 0
|
|
||||||
c.border_color = beautiful.border_normal
|
c.border_color = beautiful.border_normal
|
||||||
else
|
else
|
||||||
c.border_width = beautiful.border_width
|
|
||||||
c.border_color = beautiful.border_focus
|
c.border_color = beautiful.border_focus
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
|
@ -665,10 +665,8 @@ end)
|
||||||
client.connect_signal("focus",
|
client.connect_signal("focus",
|
||||||
function(c)
|
function(c)
|
||||||
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
||||||
c.border_width = 0
|
|
||||||
c.border_color = beautiful.border_normal
|
c.border_color = beautiful.border_normal
|
||||||
else
|
else
|
||||||
c.border_width = beautiful.border_width
|
|
||||||
c.border_color = beautiful.border_focus
|
c.border_color = beautiful.border_focus
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
|
@ -611,10 +611,8 @@ end)
|
||||||
client.connect_signal("focus",
|
client.connect_signal("focus",
|
||||||
function(c)
|
function(c)
|
||||||
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
||||||
c.border_width = 0
|
|
||||||
c.border_color = beautiful.border_normal
|
c.border_color = beautiful.border_normal
|
||||||
else
|
else
|
||||||
c.border_width = beautiful.border_width
|
|
||||||
c.border_color = beautiful.border_focus
|
c.border_color = beautiful.border_focus
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
|
@ -620,10 +620,8 @@ end)
|
||||||
client.connect_signal("focus",
|
client.connect_signal("focus",
|
||||||
function(c)
|
function(c)
|
||||||
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
||||||
c.border_width = 0
|
|
||||||
c.border_color = beautiful.border_normal
|
c.border_color = beautiful.border_normal
|
||||||
else
|
else
|
||||||
c.border_width = beautiful.border_width
|
|
||||||
c.border_color = beautiful.border_focus
|
c.border_color = beautiful.border_focus
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in a new issue