1
0
Fork 0
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:
copycat-killer 2017-01-21 00:56:51 +01:00
parent dd6c18271c
commit 87b7b0fd2a
10 changed files with 6 additions and 23 deletions

2
lain

@ -1 +1 @@
Subproject commit 7e4175f7aaef5c690afca3bc987107e2193a58df
Subproject commit 0b4193199b244e4f0aa365762314c0462a318014

View file

@ -191,7 +191,7 @@ local fshome = lain.widgets.fs({
fs_header = ""
fs_p = ""
if fs_now.used >= 90 then
if tonumber(fs_now.used) >= 90 then
fs_header = " Hdd "
fs_p = fs_now.used
end
@ -792,14 +792,12 @@ client.connect_signal("request::titlebars", function(c)
end)
-- Enable sloppy focus, so that focus follows mouse.
--[[
client.connect_signal("mouse::enter", function(c)
if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
and awful.client.focus.filter(c) then
client.focus = c
end
end)
]]
-- No border for maximized clients
client.connect_signal("focus",

View file

@ -259,7 +259,7 @@ local fshome = lain.widgets.fs({
partition = "/home",
options = "--exclude-type=tmpfs",
settings = function()
if fs_now.used < 90 then
if tonumber(fs_now.used) < 90 then
fsbar:set_color(beautiful.fg_normal)
else
fsbar:set_color("#EB8F8F")
@ -846,14 +846,12 @@ client.connect_signal("request::titlebars", function(c)
end)
-- Enable sloppy focus, so that focus follows mouse.
--[[
client.connect_signal("mouse::enter", function(c)
if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
and awful.client.focus.filter(c) then
client.focus = c
end
end)
]]
-- No border for maximized clients
client.connect_signal("focus",

View file

@ -196,7 +196,7 @@ local fshome = lain.widgets.fs({
fs_header = ""
fs_p = ""
if fs_now.used >= 90 then
if tonumber(fs_now.used) >= 90 then
fs_header = " Hdd "
fs_p = fs_now.used
end
@ -778,14 +778,12 @@ client.connect_signal("request::titlebars", function(c)
end)
-- Enable sloppy focus, so that focus follows mouse.
--[[
client.connect_signal("mouse::enter", function(c)
if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
and awful.client.focus.filter(c) then
client.focus = c
end
end)
]]
-- No border for maximized clients
client.connect_signal("focus",

View file

@ -267,7 +267,6 @@ volumewidget.shape_border_width = 5
volumewidget.shape_border_color = beautiful.tasklist_bg_normal
--]]
-- CPU
local cpu_icon = wibox.widget.imagebox(beautiful.cpu)
local cpu_widget = lain.widgets.cpu({
@ -889,14 +888,12 @@ client.connect_signal("request::titlebars", function(c)
end)
-- Enable sloppy focus, so that focus follows mouse.
--[[
client.connect_signal("mouse::enter", function(c)
if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
and awful.client.focus.filter(c) then
client.focus = c
end
end)
]]
-- No border for maximized clients
client.connect_signal("focus",

View file

@ -864,14 +864,12 @@ client.connect_signal("request::titlebars", function(c)
end)
-- Enable sloppy focus, so that focus follows mouse.
--[[
client.connect_signal("mouse::enter", function(c)
if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
and awful.client.focus.filter(c) then
client.focus = c
end
end)
]]
-- No border for maximized clients
client.connect_signal("focus",

View file

@ -842,14 +842,12 @@ client.connect_signal("request::titlebars", function(c)
end)
-- Enable sloppy focus, so that focus follows mouse.
--[[
client.connect_signal("mouse::enter", function(c)
if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
and awful.client.focus.filter(c) then
client.focus = c
end
end)
]]
-- No border for maximized clients
client.connect_signal("focus",

View file

@ -198,7 +198,7 @@ local fshome = lain.widgets.fs({
hdd = ""
p = ""
if fs_now.used >= 90 then
if tonumber(fs_now.used) >= 90 then
hdd = " Hdd "
p = fs_now.used .. " "
end
@ -778,14 +778,12 @@ client.connect_signal("request::titlebars", function(c)
end)
-- Enable sloppy focus, so that focus follows mouse.
--[[
client.connect_signal("mouse::enter", function(c)
if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
and awful.client.focus.filter(c) then
client.focus = c
end
end)
]]
-- No border for maximized clients
client.connect_signal("focus",

View file

@ -799,14 +799,12 @@ client.connect_signal("request::titlebars", function(c)
end)
-- Enable sloppy focus, so that focus follows mouse.
--[[
client.connect_signal("mouse::enter", function(c)
if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
and awful.client.focus.filter(c) then
client.focus = c
end
end)
]]
-- No border for maximized clients
client.connect_signal("focus",

View file

@ -60,7 +60,7 @@ theme.layout_fullscreen = theme.dir .. "/icons/fullscree
theme.layout_magnifier = theme.dir .. "/icons/magnifier.png"
theme.layout_floating = theme.dir .. "/icons/floating.png"
theme.useless_gap = 8
theme.useless_gap = 0
theme.titlebar_close_button_focus = theme.dir .. "/icons/titlebar/close_focus.png"
theme.titlebar_close_button_normal = theme.dir .. "/icons/titlebar/close_normal.png"