mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 19:22:32 +00:00
forgot to update copland for lain issue #7 fix as well
This commit is contained in:
parent
55852641cf
commit
6068f6ae7e
|
@ -215,12 +215,12 @@ diskmargin:set_bottom(6)
|
||||||
fshomeupd = lain.widgets.fs({
|
fshomeupd = lain.widgets.fs({
|
||||||
partition = "/home",
|
partition = "/home",
|
||||||
settings = function()
|
settings = function()
|
||||||
if used < 90 then
|
if fs_now.used < 90 then
|
||||||
diskbar:set_color(beautiful.fg_normal)
|
diskbar:set_color(beautiful.fg_normal)
|
||||||
else
|
else
|
||||||
diskbar:set_color("#EB8F8F")
|
diskbar:set_color("#EB8F8F")
|
||||||
end
|
end
|
||||||
diskbar:set_value(used / 100)
|
diskbar:set_value(fs_now.used / 100)
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
diskwidget = wibox.widget.background(diskmargin)
|
diskwidget = wibox.widget.background(diskmargin)
|
||||||
|
|
Loading…
Reference in a new issue