1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-23 03:32:30 +00:00

forgot to update copland for lain issue #7 fix as well

This commit is contained in:
luke bonham 2013-10-02 16:30:26 +02:00
parent 55852641cf
commit 6068f6ae7e

View file

@ -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)