mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 11:12:31 +00:00
lain: new commit
This commit is contained in:
parent
a63e15fa12
commit
88c1716261
2
lain
2
lain
|
@ -1 +1 @@
|
|||
Subproject commit 32eddd514f8ccc35eeaa128a441f6a47708e6a04
|
||||
Subproject commit 58b2a122dd20cc4d1d15a29a27e618c9c88050cc
|
|
@ -808,10 +808,9 @@ end)
|
|||
-- No border for maximized clients
|
||||
client.connect_signal("focus",
|
||||
function(c)
|
||||
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
||||
if c.maximized then -- no borders if only 1 client visible
|
||||
c.border_width = 0
|
||||
-- no borders if only 1 client visible
|
||||
elseif #awful.client.visible(mouse.screen) > 1 then
|
||||
elseif #awful.screen.focused().clients > 1 then
|
||||
c.border_width = beautiful.border_width
|
||||
c.border_color = beautiful.border_focus
|
||||
end
|
||||
|
|
|
@ -279,7 +279,7 @@ local fswidget = wibox.container.margin(fsbg, 2, 7, 4, 4)
|
|||
-- ALSA volume bar
|
||||
local volicon = wibox.widget.imagebox(beautiful.vol)
|
||||
local volume = lain.widgets.alsabar({
|
||||
width = 59, border_width = 0, ticks = true, ticks_size = 6
|
||||
width = 59, border_width = 0, ticks = true, ticks_size = 6,
|
||||
notification_preset = { font = beautiful.font },
|
||||
settings = function()
|
||||
if volume_now.status == "off" then
|
||||
|
@ -862,10 +862,9 @@ end)
|
|||
-- No border for maximized clients
|
||||
client.connect_signal("focus",
|
||||
function(c)
|
||||
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
||||
if c.maximized then -- no borders if only 1 client visible
|
||||
c.border_width = 0
|
||||
-- no borders if only 1 client visible
|
||||
elseif #awful.client.visible(mouse.screen) > 1 then
|
||||
elseif #awful.screen.focused().clients > 1 then
|
||||
c.border_width = beautiful.border_width
|
||||
c.border_color = beautiful.border_focus
|
||||
end
|
||||
|
|
|
@ -793,10 +793,9 @@ end)
|
|||
-- No border for maximized clients
|
||||
client.connect_signal("focus",
|
||||
function(c)
|
||||
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
||||
if c.maximized then -- no borders if only 1 client visible
|
||||
c.border_width = 0
|
||||
-- no borders if only 1 client visible
|
||||
elseif #awful.client.visible(mouse.screen) > 1 then
|
||||
elseif #awful.screen.focused().clients > 1 then
|
||||
c.border_width = beautiful.border_width
|
||||
c.border_color = beautiful.border_focus
|
||||
end
|
||||
|
|
|
@ -898,10 +898,9 @@ end)
|
|||
-- No border for maximized clients
|
||||
client.connect_signal("focus",
|
||||
function(c)
|
||||
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
||||
if c.maximized then -- no borders if only 1 client visible
|
||||
c.border_width = 0
|
||||
-- no borders if only 1 client visible
|
||||
elseif #awful.client.visible(mouse.screen) > 1 then
|
||||
elseif #awful.screen.focused().clients > 1 then
|
||||
c.border_width = beautiful.border_width
|
||||
c.border_color = beautiful.border_focus
|
||||
end
|
||||
|
|
|
@ -258,7 +258,7 @@ local netupicon = wibox.widget.imagebox(beautiful.widget_netup)
|
|||
local netupinfo = lain.widgets.net({
|
||||
settings = function()
|
||||
if iface ~= "network off" and
|
||||
string.match(myweather._private.layout.text, "N/A")
|
||||
string.match(myweather.widget.text, "N/A")
|
||||
then
|
||||
myweather.update()
|
||||
end
|
||||
|
@ -880,10 +880,9 @@ end)
|
|||
-- No border for maximized clients
|
||||
client.connect_signal("focus",
|
||||
function(c)
|
||||
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
||||
if c.maximized then -- no borders if only 1 client visible
|
||||
c.border_width = 0
|
||||
-- no borders if only 1 client visible
|
||||
elseif #awful.client.visible(mouse.screen) > 1 then
|
||||
elseif #awful.screen.focused().clients > 1 then
|
||||
c.border_width = beautiful.border_width
|
||||
c.border_color = beautiful.border_focus
|
||||
end
|
||||
|
|
|
@ -858,10 +858,9 @@ end)
|
|||
-- No border for maximized clients
|
||||
client.connect_signal("focus",
|
||||
function(c)
|
||||
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
||||
if c.maximized then -- no borders if only 1 client visible
|
||||
c.border_width = 0
|
||||
-- no borders if only 1 client visible
|
||||
elseif #awful.client.visible(mouse.screen) > 1 then
|
||||
elseif #awful.screen.focused().clients > 1 then
|
||||
c.border_width = beautiful.border_width
|
||||
c.border_color = beautiful.border_focus
|
||||
end
|
||||
|
|
|
@ -795,10 +795,9 @@ end)
|
|||
-- No border for maximized clients
|
||||
client.connect_signal("focus",
|
||||
function(c)
|
||||
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
||||
if c.maximized then -- no borders if only 1 client visible
|
||||
c.border_width = 0
|
||||
-- no borders if only 1 client visible
|
||||
elseif #awful.client.visible(mouse.screen) > 1 then
|
||||
elseif #awful.screen.focused().clients > 1 then
|
||||
c.border_width = beautiful.border_width
|
||||
c.border_color = beautiful.border_focus
|
||||
end
|
||||
|
|
|
@ -815,10 +815,9 @@ end)
|
|||
-- No border for maximized clients
|
||||
client.connect_signal("focus",
|
||||
function(c)
|
||||
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
||||
if c.maximized then -- no borders if only 1 client visible
|
||||
c.border_width = 0
|
||||
-- no borders if only 1 client visible
|
||||
elseif #awful.client.visible(mouse.screen) > 1 then
|
||||
elseif #awful.screen.focused().clients > 1 then
|
||||
c.border_width = beautiful.border_width
|
||||
c.border_color = beautiful.border_focus
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue