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)
|
||||||
|
|
|
@ -48,7 +48,7 @@ theme.disk = theme.dir .. "/icons/disk.png"
|
||||||
theme.ac = theme.dir .. "/icons/ac.png"
|
theme.ac = theme.dir .. "/icons/ac.png"
|
||||||
theme.bat = theme.dir .. "/icons/bat.png"
|
theme.bat = theme.dir .. "/icons/bat.png"
|
||||||
theme.bat_low = theme.dir .. "/icons/bat_low.png"
|
theme.bat_low = theme.dir .. "/icons/bat_low.png"
|
||||||
theme.bat_no = theme.dir .. "/icons/bat_no.png"
|
theme.bat_no = theme.dir .. "/icons/bat_no.png"
|
||||||
theme.play = theme.dir .. "/icons/play.png"
|
theme.play = theme.dir .. "/icons/play.png"
|
||||||
theme.pause = theme.dir .. "/icons/pause.png"
|
theme.pause = theme.dir .. "/icons/pause.png"
|
||||||
|
|
||||||
|
@ -92,14 +92,14 @@ theme.titlebar_maximized_button_normal_inactive = theme.dir .. "/icons/titlebar/
|
||||||
theme.useless_gap_width = 10
|
theme.useless_gap_width = 10
|
||||||
theme.layout_centerfair = theme.dir .. "/icons/centerfair.png"
|
theme.layout_centerfair = theme.dir .. "/icons/centerfair.png"
|
||||||
theme.layout_termfair = theme.dir .. "/icons/termfair.png"
|
theme.layout_termfair = theme.dir .. "/icons/termfair.png"
|
||||||
theme.layout_centerwork = theme.dir .. "/icons/centerwork.png"
|
theme.layout_centerwork = theme.dir .. "/icons/centerwork.png"
|
||||||
theme.layout_uselessfair = theme.dir .. "/icons/fairv.png"
|
theme.layout_uselessfair = theme.dir .. "/icons/fairv.png"
|
||||||
theme.layout_uselessfairh = theme.dir .. "/icons/fairh.png"
|
theme.layout_uselessfairh = theme.dir .. "/icons/fairh.png"
|
||||||
theme.layout_uselessdwindle = theme.dir .. "/icons/dwindle.png"
|
theme.layout_uselessdwindle = theme.dir .. "/icons/dwindle.png"
|
||||||
theme.layout_uselesstile = theme.dir .. "/icons/tile.png"
|
theme.layout_uselesstile = theme.dir .. "/icons/tile.png"
|
||||||
theme.layout_uselesstiletop = theme.dir .. "/icons/tiletop.png"
|
theme.layout_uselesstiletop = theme.dir .. "/icons/tiletop.png"
|
||||||
theme.layout_uselesstileleft = theme.dir .. "/icons/tileleft.png"
|
theme.layout_uselesstileleft = theme.dir .. "/icons/tileleft.png"
|
||||||
theme.layout_uselesstilebottom = theme.dir .. "/icons/tilebottom.png"
|
theme.layout_uselesstilebottom = theme.dir .. "/icons/tilebottom.png"
|
||||||
theme.layout_uselesspiral = theme.dir .. "/icons/spiral.png"
|
theme.layout_uselesspiral = theme.dir .. "/icons/spiral.png"
|
||||||
|
|
||||||
return theme
|
return theme
|
||||||
|
|
Loading…
Reference in a new issue